/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=Lora:ital,wght@0,400;0,600;1,400&display=block');

/* Font Classes */
.font-serif { font-family: 'Playfair Display', serif; }
.font-body { font-family: 'Lora', serif; }
.font-sans { font-family: 'Inter', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0 !important; /* Enforce sharp corners everywhere */
}

body {
    font-family: 'Lora', Georgia, serif;
    line-height: 1.625;
    color: #111111;
    background-color: #F9F9F7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23111111' fill-opacity='0.04' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    line-height: 1.1;
    color: #111111;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease-out;
}

/* Utility Classes */
.sharp-corners {
    border-radius: 0px !important;
}

.hard-shadow-hover {
    transition: all 0.2s ease-out;
}

.hard-shadow-hover:hover {
    box-shadow: 4px 4px 0px 0px #111111;
    transform: translate(-2px, -2px);
}

/* Newsprint Texture Overlay */
.newsprint-texture {
    position: relative;
}

.newsprint-texture::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(0deg, transparent 98%, rgba(0,0,0,0.02) 100%),
        linear-gradient(90deg, transparent 98%, rgba(0,0,0,0.02) 100%);
    background-size: 3px 3px;
    pointer-events: none;
    opacity: 0.5;
    z-index: 1;
}

.newsprint-texture > * {
    position: relative;
    z-index: 2;
}

/* Hero Header Section */
.hero-header {
    position: relative;
    min-height: 600px;
    background: #111111;
    color: #F9F9F7;
    border-bottom: 4px solid #111111;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(0deg, #F9F9F7 0px, #F9F9F7 1px, transparent 1px, transparent 2px);
}

.header-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 32px 40px;
}

/* Edition Metadata */
.edition-metadata {
    position: absolute;
    top: 20px;
    left: 40px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #F9F9F7;
    opacity: 0.7;
}

.header-logo {
    position: absolute;
    top: 60px;
    left: 40px;
}

.header-logo .logo {
    max-height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.header-cta {
    position: absolute;
    top: 60px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.call-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #111111;
    color: #F9F9F7;
    padding: 12px 24px;
    border: 2px solid #F9F9F7;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.2s ease-out;
}

.call-button:hover {
    background-color: #F9F9F7;
    color: #111111;
    border-color: #F9F9F7;
}

.hero-text {
    max-width: 900px;
    margin-top: 180px;
    padding-left: 20px;
}

.hero-text h1 {
    font-size: 5rem;
    margin-bottom: 24px;
    line-height: 0.95;
    letter-spacing: -0.02em;
    font-weight: 900;
    color: #F9F9F7;
}

.hero-highlight {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #F9F9F7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;
}

.hero-body {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 32px;
    color: #F9F9F7;
    max-width: 700px;
}

.hero-details {
    background: transparent;
    padding: 24px;
    border: 2px solid #F9F9F7;
    border-left: 8px solid #F9F9F7;
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-details p {
    font-size: 1rem;
    margin: 12px 0;
    font-family: 'Inter', sans-serif;
}

.hero-details strong {
    color: #F9F9F7;
    font-weight: 700;
}

.hero-cta-btn {
    display: inline-block;
    background-color: #F9F9F7;
    color: #111111;
    padding: 16px 48px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease-out;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
    border: 2px solid #F9F9F7;
}

.hero-cta-btn:hover {
    background-color: #111111;
    color: #F9F9F7;
    box-shadow: 4px 4px 0px 0px #F9F9F7;
    transform: translate(-2px, -2px);
}

/* Stats Section */
.stats-section {
    padding: 64px 20px;
    background-color: #F9F9F7;
    border-bottom: 1px solid #111111;
}

.stats-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 48px;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    border: 2px solid #111111;
}

.stat-card {
    background: #F9F9F7;
    padding: 32px;
    text-align: center;
    border-right: 1px solid #111111;
    border-bottom: 1px solid #111111;
    transition: all 0.2s ease-out;
}

.stat-card:hover {
    background: #E5E5E0;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: #111111;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
}

.stat-card p {
    color: #111111;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

/* PDF Section */
.pdf-section {
    padding: 64px 20px;
    background-color: #F9F9F7;
    border-bottom: 4px solid #111111;
}

.pdf-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 16px;
    color: #111111;
    line-height: 1.1;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #525252;
    margin-bottom: 48px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* PDF Tabs */
.pdf-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
    border: 2px solid #111111;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}

.pdf-tab {
    flex: 1;
    padding: 16px 32px;
    font-size: 0.875rem;
    font-weight: 600;
    background: #F9F9F7;
    border: none;
    border-right: 1px solid #111111;
    cursor: pointer;
    transition: all 0.2s ease-out;
    color: #111111;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pdf-tab:last-child {
    border-right: none;
}

.pdf-tab:hover {
    background: #E5E5E0;
}

.pdf-tab.active {
    background: #111111;
    color: #F9F9F7;
}

/* Covers Gallery */
.covers-table {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 48px;
    border-collapse: collapse;
    border: 4px solid #111111;
}

.covers-table td {
    width: 33.33%;
    padding: 0;
    border-right: 1px solid #111111;
    vertical-align: top;
    background: #F9F9F7;
}

.covers-table td:last-child {
    border-right: none;
}

.cover-cell {
    overflow: hidden;
    transition: background 0.2s ease-out;
}

.cover-cell:hover {
    background: #E5E5E0;
}

.cover-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.2s ease-out;
}

.cover-cell:hover .cover-image {
    transform: scale(1.02);
}

/* Covers gallery wrapper: collapsed by default (2 rows), expands on "See more" */
.covers-gallery-wrap {
    position: relative;
    margin: 0 auto 48px;
    max-width: 768px; /* 3 × 256 */
    border: 4px solid #111111;
    overflow: hidden;
    max-height: 600px; /* ~2 rows: 256 + label + 256 + label */
    transition: max-height 0.4s ease-out;
}

.covers-gallery-wrap.covers-expanded {
    max-height: 1200px; /* enough for 3 rows + labels */
}

.covers-gallery-wrap.covers-expanded .covers-fade,
.covers-gallery-wrap.covers-expanded .covers-see-more {
    opacity: 0;
    pointer-events: none;
}

/* Fade overlay over bottom 3 when collapsed */
.covers-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #F9F9F7 30%, transparent);
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}

.covers-see-more {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding: 12px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: #111111;
    color: #F9F9F7;
    border: 2px solid #111111;
    cursor: pointer;
    transition: all 0.2s ease-out, opacity 0.3s ease-out;
}

.covers-see-more:hover {
    background: #F9F9F7;
    color: #111111;
}

/* Covers Grid (9 section front covers, 256×256 each, 3 columns) */
.covers-grid {
    display: grid;
    grid-template-columns: repeat(3, 256px);
    gap: 0;
    margin: 0;
    border: none;
    justify-content: center;
}

.cover-cell-link {
    display: block;
    width: 256px;
    border-right: 1px solid #111111;
    border-bottom: 1px solid #111111;
    background: #F9F9F7;
    overflow: hidden;
    transition: background 0.2s ease-out;
    text-decoration: none;
    color: inherit;
}

.cover-cell-link:nth-child(3n) {
    border-right: none;
}

.cover-cell-link:nth-child(n+7) {
    border-bottom: none;
}

.cover-cell-link:hover {
    background: #E5E5E0;
}

.cover-cell-link .cover-image {
    width: 256px;
    height: 256px;
    display: block;
    object-fit: cover;
}

.cover-cell-link:hover .cover-image {
    transform: scale(1.02);
}

.cover-label {
    display: block;
    padding: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    color: #111111;
}

.header-nav-link {
    margin-right: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #F9F9F7;
    border: 2px solid #F9F9F7;
    padding: 10px 20px;
    transition: all 0.2s ease-out;
}

.header-nav-link:hover {
    background: #F9F9F7;
    color: #111111;
}

/* PDF Book Container */
.pdf-book-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* PDF Viewer */
.pdf-viewer {
    position: relative;
    overflow: hidden;
    background: #E5E5E0;
    border: 4px solid #111111;
}

/* Navigation Zones */
.nav-zone {
    position: absolute;
    top: 0;
    bottom: 60px;
    width: 25%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.2s ease;
}

.nav-zone.nav-prev {
    left: 0;
    justify-content: flex-start;
    padding-left: 15px;
}

.nav-zone.nav-next {
    right: 0;
    justify-content: flex-end;
    padding-right: 15px;
}

.nav-zone:hover {
    background: rgba(17, 17, 17, 0.05);
}

.nav-zone:hover .nav-hint {
    opacity: 1;
}

.nav-zone.disabled {
    cursor: default;
    pointer-events: none;
}

.nav-zone.disabled .nav-hint {
    display: none;
}

.nav-hint {
    font-size: 2rem;
    color: #111111;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: #F9F9F7;
    border: 2px solid #111111;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Two-Page Spread Layout */
.pdf-spread {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 500px;
    max-height: 70vh;
    cursor: pointer;
}

.pdf-page-wrapper {
    flex: 1;
    max-width: 49%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border: 2px solid #111111;
}

.pdf-canvas {
    max-width: 100%;
    max-height: 65vh;
    height: auto;
    display: block;
}

/* Zoomed State */
.pdf-viewer.zoomed .pdf-spread {
    max-height: none;
    overflow: auto;
    cursor: grab;
}

.pdf-viewer.zoomed .pdf-spread:active {
    cursor: grabbing;
}

.pdf-viewer.zoomed .pdf-canvas {
    max-height: none;
}

.pdf-viewer.zoomed .nav-zone {
    display: none;
}

/* Floating Page Indicator */
.page-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #111111;
    color: #F9F9F7;
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 20;
    font-family: 'JetBrains Mono', monospace;
    border: 2px solid #111111;
}

/* Zoom Hint */
.zoom-hint {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: #111111;
    color: #F9F9F7;
    padding: 8px 16px;
    font-size: 0.75rem;
    z-index: 20;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border: 2px solid #F9F9F7;
}

/* Loading State */
.pdf-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E5E5E0;
    color: #111111;
    font-size: 1.125rem;
    z-index: 30;
    font-family: 'JetBrains Mono', monospace;
}

.pdf-loading p {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Fallback Link */
.pdf-fallback {
    padding: 24px;
    text-align: center;
    margin-top: 24px;
    border-top: 1px solid #111111;
}

.pdf-fallback a {
    color: #111111;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;
}

.pdf-fallback a:hover {
    color: #525252;
}

/* PDF CTA */
.pdf-cta {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
}

.pdf-cta .btn-primary {
    display: inline-block;
    background-color: #111111;
    color: #F9F9F7;
    padding: 18px 48px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid #111111;
    text-decoration: none;
    transition: all 0.2s ease-out;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

.pdf-cta .btn-primary:hover {
    background-color: #F9F9F7;
    color: #111111;
    box-shadow: 4px 4px 0px 0px #111111;
    transform: translate(-2px, -2px);
}

/* Special Sections List Section */
.sections-list-section {
    padding: 64px 20px;
    background: #F9F9F7;
    border-bottom: 4px solid #111111;
}

.sections-list-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 16px;
    color: #111111;
    text-transform: uppercase;
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    border: 2px solid #111111;
}

.section-card {
    display: block;
    background: #F9F9F7;
    padding: 28px;
    border-right: 1px solid #111111;
    border-bottom: 1px solid #111111;
    transition: all 0.2s ease-out;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.section-card:hover {
    background: #E5E5E0;
}

.section-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #111111;
    font-weight: 700;
}

.section-card p {
    color: #525252;
    font-size: 0.875rem;
    line-height: 1.6;
}

.section-card.highlight-card {
    background: #111111;
    color: #F9F9F7;
}

.section-card.highlight-card h3,
.section-card.highlight-card p {
    color: #F9F9F7;
}

.section-card.highlight-card h3 {
    color: #F9F9F7;
}

/* Ornamental Divider */
.ornamental-divider {
    padding: 48px 0;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #A3A3A3;
    letter-spacing: 1em;
}

/* Best Year Section */
.best-year-section {
    padding: 64px 20px;
    background-color: #F9F9F7;
}

.best-year-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 48px;
    color: #111111;
    line-height: 1.1;
}

.best-year-content {
    max-width: 800px;
    margin: 0 auto;
}

.best-year-content .lead-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #111111;
    margin-bottom: 32px;
}

/* Drop Cap */
.best-year-content .lead-text::first-letter {
    float: left;
    font-size: 5rem;
    line-height: 0.8;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    margin-right: 8px;
    margin-top: 4px;
    color: #111111;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    border: 2px solid #111111;
}

.benefits-list li {
    position: relative;
    padding: 16px 16px 16px 48px;
    font-size: 1rem;
    color: #111111;
    border-bottom: 1px solid #111111;
}

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

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    color: #111111;
    font-weight: bold;
    font-size: 1.5rem;
}

.best-year-content .closing-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #111111;
    font-weight: 500;
    padding: 24px;
    background: #F9F9F7;
    border: 2px solid #111111;
    border-left: 8px solid #111111;
}

/* Discount Section */
.discount-section {
    padding: 64px 20px;
    background: #111111;
    color: #F9F9F7;
    border-bottom: 4px solid #111111;
}

.discount-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 32px;
    color: #F9F9F7;
}

.discount-content {
    max-width: 800px;
    margin: 0 auto;
}

.discount-content .lead-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #F9F9F7;
    text-align: center;
    margin-bottom: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.discount-content > p {
    font-size: 1rem;
    line-height: 1.7;
    color: #F9F9F7;
    margin-bottom: 32px;
}

.discount-highlight {
    background: #F9F9F7;
    color: #111111;
    padding: 32px;
    border: 4px solid #F9F9F7;
    text-align: center;
    margin-bottom: 32px;
}

.discount-highlight h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #111111;
}

.discount-highlight p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    color: #111111;
}

.discount-example {
    background: transparent;
    padding: 32px;
    border: 2px solid #F9F9F7;
}

.discount-example h4 {
    font-size: 1.125rem;
    color: #F9F9F7;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

.discount-example > p {
    font-size: 1rem;
    line-height: 1.7;
    color: #F9F9F7;
    margin-bottom: 24px;
}

.savings-breakdown {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.savings-item {
    flex: 1;
    background: transparent;
    padding: 20px;
    border: 2px solid #F9F9F7;
    text-align: center;
}

.savings-item.highlight {
    background: #F9F9F7;
    border-color: #F9F9F7;
}

.savings-item .label {
    display: block;
    font-size: 0.75rem;
    color: #A3A3A3;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

.savings-item .amount {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #F9F9F7;
    font-family: 'JetBrains Mono', monospace;
}

.savings-item.highlight .amount {
    color: #111111;
}

.savings-item.highlight .label {
    color: #525252;
}

.savings-item .compare {
    display: block;
    font-size: 0.75rem;
    color: #A3A3A3;
    margin-top: 8px;
}

.savings-note {
    font-size: 0.875rem;
    color: #A3A3A3;
    font-style: italic;
    text-align: center;
    margin: 0;
}

/* Goals Section */
.goals-section {
    padding: 64px 20px;
    background-color: #F9F9F7;
    border-bottom: 4px solid #111111;
}

.goals-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 32px;
    color: #111111;
}

.goals-content {
    max-width: 800px;
    margin: 0 auto;
}

.goals-content .lead-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #111111;
    margin-bottom: 24px;
    font-weight: 600;
}

.goals-content > p {
    font-size: 1rem;
    line-height: 1.7;
    color: #111111;
    margin-bottom: 24px;
}

.goals-cta {
    background: #111111;
    color: #F9F9F7;
    padding: 28px 32px;
    border: 4px solid #111111;
    margin-top: 32px;
}

.goals-cta p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
}

.goals-cta a {
    color: #F9F9F7;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    font-weight: 600;
}

.goals-cta a:hover {
    color: #F9F9F7;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 20px;
    background: #F9F9F7;
    border-bottom: 4px solid #111111;
}

.pricing-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 16px;
    color: #111111;
    text-transform: uppercase;
}

.pricing-table-wrapper {
    max-width: 1000px;
    margin: 0 auto 32px;
    overflow-x: auto;
    border: 4px solid #111111;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: #F9F9F7;
}

.pricing-table thead {
    background: #111111;
    color: #F9F9F7;
}

.pricing-table th {
    padding: 20px 16px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-right: 1px solid #F9F9F7;
    font-family: 'Inter', sans-serif;
}

.pricing-table th:last-child {
    border-right: none;
}

.pricing-table th:first-child {
    text-align: left;
    padding-left: 32px;
}

.pricing-table tbody tr {
    border-bottom: 1px solid #111111;
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background-color: #E5E5E0;
}

.pricing-table td {
    padding: 24px 16px;
    text-align: center;
    font-size: 1rem;
    color: #111111;
    font-family: 'JetBrains Mono', monospace;
}

.pricing-table td.size-column {
    text-align: left;
    padding-left: 32px;
    font-size: 1.125rem;
    color: #111111;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.pricing-table .size-detail {
    display: block;
    font-size: 0.75rem;
    color: #525252;
    font-weight: normal;
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
}

.pricing-table td.highlight {
    background-color: #111111;
    color: #F9F9F7;
    font-weight: 700;
    font-size: 1.125rem;
}

.pricing-note {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 32px;
    background: #F9F9F7;
    border: 2px solid #111111;
    border-left: 8px solid #111111;
    text-align: center;
}

.pricing-note p {
    margin: 0;
    color: #111111;
    font-size: 0.875rem;
    line-height: 1.7;
}

.pricing-note strong {
    color: #111111;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background-color: #F9F9F7;
    text-align: center;
    border-bottom: 4px solid #111111;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    color: #111111;
}

.cta-subtitle {
    font-size: 1rem;
    color: #525252;
    margin-bottom: 48px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    display: inline-block;
    background-color: #111111;
    color: #F9F9F7;
    padding: 18px 48px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid #111111;
    cursor: pointer;
    transition: all 0.2s ease-out;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    background-color: #F9F9F7;
    color: #111111;
    box-shadow: 4px 4px 0px 0px #111111;
    transform: translate(-2px, -2px);
}

.secondary-contact {
    margin-top: 32px;
    font-size: 1rem;
    color: #525252;
    font-family: 'Inter', sans-serif;
}

.secondary-contact a {
    color: #111111;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.secondary-contact a:hover {
    color: #525252;
}

/* Inquiry Form Section */
.inquiry-form-section {
    padding: 80px 20px;
    background: #111111;
    color: #F9F9F7;
}

.inquiry-form-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 16px;
    color: #F9F9F7;
}

.inquiry-form-section .section-subtitle {
    text-align: center;
    font-size: 0.875rem;
    color: #A3A3A3;
    margin-bottom: 48px;
}

/* Form Messages */
.form-message {
    max-width: 800px;
    margin: 0 auto 32px;
    padding: 16px 24px;
    text-align: center;
    font-size: 1rem;
    display: none;
    border: 2px solid;
}

.form-message.success {
    background-color: #F9F9F7;
    color: #111111;
    border-color: #111111;
}

.form-message.error {
    background-color: #CC0000;
    color: #F9F9F7;
    border-color: #CC0000;
}

.form-message strong {
    font-weight: 700;
}

.inquiry-form {
    max-width: 800px;
    margin: 0 auto;
    background: #F9F9F7;
    padding: 48px;
    border: 4px solid #111111;
}

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

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

.form-group.full-width {
    margin-bottom: 24px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #111111;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #111111;
    background: transparent;
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
    transition: background 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: #F0F0F0;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    padding: 12px;
    border: 2px solid #111111;
}

.form-group select {
    cursor: pointer;
    background-color: #F9F9F7;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    margin-top: 12px;
    border: 2px solid #111111;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #F9F9F7;
    border-right: 1px solid #111111;
    border-bottom: 1px solid #111111;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.checkbox-item:hover {
    background: #E5E5E0;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #111111;
}

.checkbox-item input[type="checkbox"]:checked + span {
    color: #111111;
    font-weight: 700;
}

.checkbox-item span {
    font-size: 0.875rem;
    color: #111111;
    font-family: 'Inter', sans-serif;
}

.btn-submit {
    width: 100%;
    background-color: #111111;
    color: #F9F9F7;
    padding: 18px 32px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid #111111;
    cursor: pointer;
    transition: all 0.2s ease-out;
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

.btn-submit:hover {
    background-color: #F9F9F7;
    color: #111111;
    box-shadow: 4px 4px 0px 0px #111111;
    transform: translate(-2px, -2px);
}

/* FAQ Section */
.faq-section {
    padding: 64px 20px;
    background-color: #F9F9F7;
    border-bottom: 4px solid #111111;
}

.faq-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 48px;
    color: #111111;
    text-transform: uppercase;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid #111111;
}

.faq-item {
    background: #F9F9F7;
    border-bottom: 1px solid #111111;
}

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 28px;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    color: #111111;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
    font-family: 'Playfair Display', serif;
}

.faq-question:hover {
    background-color: #E5E5E0;
}

.faq-icon {
    font-size: 1.5rem;
    color: #111111;
    transition: transform 0.3s;
    font-weight: 400;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 28px 24px;
    color: #525252;
    line-height: 1.7;
    font-size: 0.875rem;
}

/* Footer */
.site-footer {
    background-color: #111111;
    color: #F9F9F7;
    padding: 48px 20px;
    text-align: center;
    border-top: 4px solid #111111;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto 32px;
}

.footer-content h3 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.footer-contact {
    margin-bottom: 24px;
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.footer-contact a {
    color: #F9F9F7;
    transition: color 0.2s;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.footer-contact a:hover {
    color: #E5E5E0;
}

.footer-office {
    margin-bottom: 24px;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

.footer-office a {
    color: #F9F9F7;
    transition: color 0.2s;
}

.footer-office a:hover {
    color: #E5E5E0;
}

.footer-tagline {
    font-style: italic;
    color: #A3A3A3;
    margin-top: 24px;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid #F9F9F7;
    padding-top: 24px;
    font-size: 0.75rem;
    color: #A3A3A3;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'JetBrains Mono', monospace;
}

/* Best Practice Section (for Christmas page) */
.best-practice-section {
    padding: 64px 20px;
    background-color: #F9F9F7;
    border-bottom: 4px solid #111111;
}

.best-practice-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 48px;
    color: #111111;
    line-height: 1.1;
}

.practice-content {
    max-width: 800px;
    margin: 0 auto;
}

.practice-intro {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #111111;
    margin-bottom: 32px;
}

.practice-highlight {
    background: #111111;
    color: #F9F9F7;
    padding: 32px;
    border: 4px solid #111111;
    margin-bottom: 32px;
}

.practice-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #F9F9F7;
}

.practice-highlight .formula {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    color: #F9F9F7;
}

.practice-cta {
    text-align: center;
    padding: 24px;
}

.practice-cta p {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: #111111;
    font-weight: 600;
}

.btn-practice {
    display: inline-block;
    background-color: #111111;
    color: #F9F9F7;
    padding: 18px 48px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid #111111;
    text-decoration: none;
    transition: all 0.2s ease-out;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

.btn-practice:hover {
    background-color: #F9F9F7;
    color: #111111;
    box-shadow: 4px 4px 0px 0px #111111;
    transform: translate(-2px, -2px);
}

/* Content Section (for Christmas page) */
.content-section {
    padding: 64px 20px;
    background-color: #F9F9F7;
    border-bottom: 4px solid #111111;
}

.content-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 16px;
    color: #111111;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    border: 2px solid #111111;
}

.content-card {
    background: #F9F9F7;
    padding: 28px;
    border-right: 1px solid #111111;
    border-bottom: 1px solid #111111;
    transition: all 0.2s ease-out;
}

.content-card:hover {
    background: #E5E5E0;
}

.content-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #111111;
    font-weight: 700;
}

.content-card p {
    color: #525252;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .stats-grid,
    .sections-grid {
        grid-template-columns: 1fr;
    }

    .stat-card,
    .section-card {
        border-right: none;
    }

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

    .savings-breakdown {
        flex-direction: column;
        gap: 12px;
    }

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

    .checkbox-item {
        border-right: none;
    }

    .edition-metadata,
    .header-logo {
        position: relative;
        top: 0;
        left: 0;
    }

    .header-cta {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        top: auto;
        z-index: 999;
    }

    .call-button {
        width: 100%;
        justify-content: center;
    }

    .hero-text {
        margin-top: 40px;
    }

    .pdf-tabs {
        flex-direction: row;
        max-width: 100%;
    }

    .pdf-tab {
        flex: 1;
        padding: 12px 16px;
        font-size: 0.75rem;
        border-right: 1px solid #111111;
    }

    .pdf-tab:last-child {
        border-right: none;
    }

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

    .content-card {
        border-right: none;
    }

    /* Covers: stay 3 columns on mobile, equal width */
    .covers-gallery-wrap {
        max-width: 100%;
        max-height: 320px; /* ~2 rows when cells are small */
    }

    .covers-gallery-wrap.covers-expanded {
        max-height: 900px;
    }

    .covers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cover-cell-link {
        width: 100%;
    }

    .cover-cell-link .cover-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        object-fit: cover;
    }

}

/* Section page PDF viewer (iframe) */
.section-pdf-wrapper {
    margin: 24px 0;
}

.section-pdf-viewer {
    width: 100%;
    min-height: 80vh;
    border: 4px solid #111111;
    background: #E5E5E0;
}

.pdf-fallback {
    margin-top: 16px;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
}

.pdf-fallback a {
    color: #111111;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.pdf-fallback a:hover {
    color: #CC0000;
}

@media screen and (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem !important;
    }

    .inquiry-form {
        padding: 32px 24px;
    }
}
