/* ============================================
   CSS Variables – Brand Tokens
   ============================================ */
:root {
    /* Primary brand color */
    --brand-primary: #007BFF;
    --brand-primary-contrast: #ffffff;
    
    /* Text colors */
    --text: #324158;
    --text-muted: #6b7a8c;
    --text-light: #9ca3af;
    
    /* Background colors */
    --bg: #FAFAFE;
    --bg-subtle: #f3f3f1;
    --card: #ffffff;
    
    /* Interactive colors */
    --link: #007BFF;
    --link-hover: #0056b3;
    
    /* UI tokens */
    --radius: 8px;
    --radius-large: 12px;
    --shadow: 0 1px 3px 0 rgba(50, 65, 88, 0.1), 0 1px 2px -1px rgba(50, 65, 88, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(50, 65, 88, 0.1), 0 2px 4px -2px rgba(50, 65, 88, 0.1);
    
    /* Spacing */
    --container-max-width: 1200px;
    --container-narrow: 720px;
    --spacing-section: 4rem;
    --spacing-content: 2rem;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    color: var(--text);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.875rem;
    margin-bottom: 0.875rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ============================================
   Layout Containers
   ============================================ */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    border-bottom: 1px solid rgba(50, 65, 88, 0.1);
    background-color: var(--bg);
    padding: 1.25rem 0;
}

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

.logotype {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

/* ============================================
   Buttons
   ============================================ */
.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.button-primary {
    background-color: var(--brand-primary);
    color: var(--brand-primary-contrast);
}

.button-primary:hover {
    background-color: var(--link-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.button-primary:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.button-secondary {
    background-color: transparent;
    color: var(--text);
    border: 1px solid rgba(50, 65, 88, 0.25);
}

.button-secondary:hover {
    background-color: var(--bg-subtle);
    border-color: rgba(50, 65, 88, 0.4);
}

.button-secondary:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

/* ============================================
   Links
   ============================================ */
.inline-link {
    color: var(--link);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.inline-link:hover {
    color: var(--link-hover);
    border-bottom-color: var(--link-hover);
}

.inline-link:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: var(--spacing-section) 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* ============================================
   Content Sections
   ============================================ */
.content-section {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-subtle);
}

/* ============================================
   Cards & Grid
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card {
    background-color: var(--card);
    border-radius: var(--radius-large);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.card h2 {
    margin-top: 0;
}

/* ============================================
   Privacy Content
   ============================================ */
.privacy-content {
    padding: var(--spacing-section) 0;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section h2 {
    margin-top: 2rem;
}

.privacy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
}

.privacy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(50, 65, 88, 0.1);
    color: var(--text-muted);
}

/* ============================================
   Unsubscribe Confirmation
   ============================================ */
.unsubscribe-confirmation {
    padding: var(--spacing-section) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.confirmation-card {
    background-color: var(--card);
    border-radius: var(--radius-large);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.confirmation-card h1 {
    margin-bottom: 1.5rem;
}

.confirmation-actions {
    margin-top: 2rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background-color: var(--bg-subtle);
    border-top: 1px solid rgba(50, 65, 88, 0.1);
    padding: 3rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-section {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-company {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.footer-address {
    margin-bottom: 0;
}

.footer-contact {
    margin-bottom: 0;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-link:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-nav {
        flex-direction: row;
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 18px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    :root {
        --spacing-section: 5rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .button {
        display: none;
    }
}

