/* ============================================
   Preview Night Press — Home
   ============================================ */

:root {
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --color-text: #1a1a1a;
    --color-muted: #555;
    --color-light: #666;
    --color-btn: #2c2c2c;
    --color-btn-hover: #444;
    --max-width: 900px;
}

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

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: #fff;
}

a { color: var(--color-text); }
a:hover { color: var(--color-muted); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1 { font-weight: 700; font-size: 2rem; line-height: 1.25; }

/* --- Layout --- */

.content,
.header-inner,
.site-footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header --- */

.site-header { padding: 20px 24px; }

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-decoration: none;
    color: var(--color-text);
}

.header-nav { display: flex; gap: 20px; }

.header-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-muted);
    text-decoration: none;
}

.header-link:hover { color: var(--color-text); }

/* --- Buttons --- */

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    background-color: var(--color-btn);
    color: #fff;
    border-radius: 6px;
    padding: 10px 24px;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background-color: var(--color-btn-hover);
    color: #fff;
}

/* --- Dividers --- */

.divider {
    border: none;
    border-top: 1px solid #ccc;
    margin: 32px 0;
}

/* --- Book Grid --- */

.book-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
}

.book-card {
    flex: 1;
    text-align: center;
}

.book-card img {
    width: 220px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.book-bestseller {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.book-title {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--color-muted);
}

/* --- Privacy --- */

.privacy { margin-bottom: 48px; }
.privacy p { margin-bottom: 16px; }
.privacy ul { list-style: disc; padding-left: 28px; margin-bottom: 16px; }
.privacy li { margin-bottom: 8px; }

/* --- Footer --- */

.site-footer {
    padding-top: 24px;
    padding-bottom: 24px;
    font-size: 0.85rem;
    color: var(--color-light);
}

.site-footer a { color: var(--color-light); }

/* --- Mobile --- */

@media (max-width: 640px) {
    h1 { font-size: 1.5rem; }

    .header-inner { flex-direction: column; gap: 12px; align-items: flex-start; }

    .book-grid { flex-direction: column; gap: 40px; }

    .book-card img { width: 180px; }
}
