/* The Global Gazette — Premium newspaper aesthetic */

:root {
    --navy: #0f172a;
    --navy-light: #1e293b;
    --gold: #b8860b;
    --gold-light: #d4a843;
    --cream: #faf9f6;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --green: #16a34a;
    --green-dark: #15803d;
    --red: #dc2626;
    --radius: 8px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--gold);
}

/* ===== MASTHEAD ===== */
.masthead {
    background: var(--navy);
    padding: 0;
    border-bottom: 3px solid var(--gold);
}
.masthead-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 24px 0;
    text-align: center;
}
.masthead-rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    margin: 8px 0;
}
.masthead-link {
    text-decoration: none;
    display: block;
}
.masthead-dateline {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 6px;
}
.masthead-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 4px;
    margin: 0;
    line-height: 1.1;
}
.masthead-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-top: 6px;
}
.masthead-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 14px 0;
    margin-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.masthead-nav a {
    color: var(--gray-400);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}
.masthead-nav a:hover {
    color: var(--white);
    text-decoration: none;
}
.nav-subscribe {
    color: var(--gold-light) !important;
    font-weight: 600 !important;
}
.nav-subscribe:hover {
    color: var(--gold) !important;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HERO ===== */
.hero {
    padding: 72px 20px 64px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}
.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.hero-sub {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 19px;
    color: var(--gray-500);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 32px;
}
.hero-cta {
    margin-top: 8px;
}
.hero-trial {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 12px;
}

/* ===== CTA BUTTONS ===== */
.cta-button {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 36px;
    border: 2px solid var(--navy);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
.cta-button:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    text-decoration: none;
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.cta-button-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--gray-300);
}
.cta-button-outline:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.cta-button-featured {
    background: var(--green);
    border-color: var(--green);
}
.cta-button-featured:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 56px 0;
    border-bottom: 1px solid var(--gray-200);
}
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.how-step {
    text-align: center;
    padding: 0 12px;
}
.how-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 12px;
    line-height: 1;
}
.how-step h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 8px;
}
.how-step p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== SECTION LABELS & HEADINGS ===== */
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
    border: none;
    padding: 0;
}

/* ===== PREVIEW / FREE CONTENT ===== */
.preview-section {
    padding: 56px 0;
    border-bottom: 1px solid var(--gray-200);
}
.free-content {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 32px 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
}
.free-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    color: var(--navy);
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 8px;
    margin-bottom: 16px;
}
.free-content p {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-700);
}

/* ===== LOCKED SECTIONS ===== */
.locked-wrapper {
    position: relative;
}
.locked-intro {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.locked-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.locked-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 10px 18px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
}
.locked-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
}

/* ===== FEATURES ===== */
.features {
    padding: 56px 0;
    border-bottom: 1px solid var(--gray-200);
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 28px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.feature-icon {
    font-size: 24px;
    margin-bottom: 12px;
    opacity: 0.8;
}
.feature-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    color: var(--navy);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing-section {
    text-align: center;
    padding: 64px 0 72px;
}
.pricing-sub {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 17px;
    color: var(--gray-500);
    margin-bottom: 36px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 680px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 36px 28px;
    position: relative;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.pricing-card-featured {
    border: 2px solid var(--navy);
    box-shadow: var(--shadow-lg);
}
.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}
.pricing-plan {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.pricing-amount {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 48px;
    color: var(--navy);
    font-weight: 900;
    margin-bottom: 4px;
    line-height: 1;
}
.pricing-currency {
    font-size: 24px;
    vertical-align: top;
    position: relative;
    top: 8px;
    font-weight: 700;
}
.pricing-period {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--gray-400);
    font-weight: 400;
}
.pricing-equivalent {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 4px;
}
.pricing-divider {
    width: 40px;
    height: 2px;
    background: var(--gray-200);
    margin: 20px auto;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}
.pricing-features li {
    font-size: 14px;
    color: var(--gray-600);
    padding: 6px 0 6px 24px;
    position: relative;
}
.pricing-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 14px;
}

/* ===== BLURRED SECTIONS (preview page) ===== */
.blurred-sections {
    position: relative;
}
.blurred-section-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 24px 28px;
    border-radius: var(--radius);
    margin-bottom: 12px;
}
.blurred-section-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 8px;
}
.locked-section {
    filter: blur(6px);
    user-select: none;
    opacity: 0.5;
    pointer-events: none;
}
.locked-overlay-full {
    position: sticky;
    bottom: 20px;
    text-align: center;
    padding: 32px 24px;
    background: rgba(250, 249, 246, 0.97);
    border: 2px solid var(--navy);
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: var(--shadow-lg);
}
.locked-cta h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 8px;
}
.locked-cta p {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 16px;
}
.pricing-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.pricing-trial-note {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 12px;
}

/* ===== ARCHIVE ===== */
.archive-section {
    padding: 40px 0;
}
.archive-list {
    list-style: none;
    padding: 0;
}
.archive-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 16px 24px;
    margin-bottom: 8px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}
.archive-item:hover {
    box-shadow: var(--shadow-md);
}
.archive-item a {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
}
.archive-back {
    margin-bottom: 20px;
}
.archive-back a {
    font-size: 14px;
    color: var(--gray-500);
}

/* ===== ARCHIVE DETAIL ===== */
.briefing-content {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.briefing-content table {
    max-width: 100% !important;
    width: 100% !important;
}

/* ===== MESSAGE PAGES ===== */
.message-page {
    text-align: center;
    padding: 72px 20px;
}
.message-page h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    color: var(--navy);
    margin-bottom: 16px;
}
.message-page p {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 17px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

/* ===== POLICY PAGES ===== */
.policy-page {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 40px 44px;
    border-radius: var(--radius);
    margin: 40px 0;
    box-shadow: var(--shadow-sm);
}
.policy-page h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    color: var(--navy);
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 10px;
    margin-bottom: 8px;
}
.policy-date {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 28px;
}
.policy-page h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    color: var(--navy);
    margin: 28px 0 10px;
}
.policy-page h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    margin: 20px 0 6px;
}
.policy-page p, .policy-page li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
}
.policy-page ul {
    padding-left: 20px;
    margin: 8px 0;
}
.policy-page li {
    margin-bottom: 6px;
}
.support-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    padding: 24px 28px;
    border-radius: var(--radius);
    margin: 20px 0 28px;
}
.faq-item {
    border-bottom: 1px solid var(--gray-100);
    padding: 16px 0;
}
.faq-item:last-child {
    border-bottom: none;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--navy);
    color: var(--gray-400);
    margin-top: 0;
    border-top: 3px solid var(--gold);
}
.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 24px;
    text-align: center;
}
.footer-brand {
    margin-bottom: 20px;
}
.footer-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
    margin-bottom: 4px;
}
.footer-desc {
    font-size: 13px;
    color: var(--gray-400);
}
.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 24px;
}
.footer-links a {
    color: var(--gray-400);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--white);
    text-decoration: none;
}
.footer-copy {
    font-size: 12px;
    color: var(--gray-500);
}

/* ===== PREFERENCES / TIME PICKER ===== */
.pref-form {
    max-width: 480px;
    margin: 24px auto 0;
}
.time-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.time-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.time-option:hover {
    border-color: var(--gray-300);
}
.time-option-selected,
.time-option:has(input:checked) {
    border-color: var(--navy);
    box-shadow: var(--shadow-sm);
}
.time-option input[type="radio"] {
    accent-color: var(--navy);
    width: 18px;
    height: 18px;
}
.time-label {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
}
.time-desc {
    font-size: 13px;
    color: var(--gray-400);
    margin-left: auto;
}
.pref-saved {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius);
    padding: 14px 20px;
    margin: 20px auto;
    max-width: 480px;
}
.pref-saved p {
    color: var(--green-dark);
    font-weight: 500;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .masthead-title { font-size: 28px; letter-spacing: 2px; }
    .hero { padding: 48px 16px 40px; }
    .hero-headline { font-size: 32px; }
    .hero-sub { font-size: 16px; }
    .how-grid { grid-template-columns: 1fr; gap: 28px; }
    .feature-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 340px; }
    .section-heading { font-size: 26px; }
    .free-content { padding: 24px 20px; }
    .policy-page { padding: 28px 20px; }
    .pricing-buttons { flex-direction: column; align-items: center; }
    .footer-links { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
    .masthead-title { font-size: 22px; }
    .hero-headline { font-size: 26px; }
    .pricing-amount { font-size: 40px; }
}
