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

:root {
    /* Earthy, Muted Color Palette */
    --sage-50: #f8faf8;
    --sage-100: #e8ede8;
    --sage-200: #d4ddd4;
    --sage-300: #b8c5b8;
    --sage-400: #9aaa9a;
    --sage-500: #7a8f7a;
    --sage-600: #5d735d;
    --sage-700: #4a5d4a;
    --sage-800: #3a4a3a;
    --sage-900: #2a3a2a;
    
    --cream-50: #fdfcfb;
    --cream-100: #faf8f5;
    --cream-200: #f5f1eb;
    --cream-300: #ede6db;
    
    --slate-50: #f8f9fa;
    --slate-100: #e9ecef;
    --slate-200: #dee2e6;
    --slate-300: #ced4da;
    --slate-400: #adb5bd;
    --slate-500: #6c757d;
    --slate-600: #495057;
    --slate-700: #343a40;
    --slate-800: #212529;
    
    /* Semantic Colors */
    --background: var(--cream-50);
    --surface: var(--cream-100);
    --surface-dark: var(--sage-800);
    --text-primary: var(--slate-800);
    --text-secondary: var(--slate-600);
    --text-muted: var(--slate-500);
    --accent: var(--sage-600);
    --border: var(--sage-200);
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
}

html {
    font-size: 18px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--background);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

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

p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--sage-700);
}

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

section {
    padding: var(--section-padding) 0;
}

/* Header */
.site-header {
    padding: 2rem 0;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(253, 252, 251, 0.95);
}

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

.header-logo img,
.header-logo svg {
    height: 58px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.current {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 140px 0 120px;
    text-align: center;
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--sage-50) 100%);
}

.hero h1 {
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

/* Buttons */
.btn, .button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary, .button-primary {
    background-color: var(--sage-700);
    color: white;
    border-color: var(--sage-700);
}

.btn-primary:hover, .button-primary:hover {
    background-color: var(--sage-800);
    border-color: var(--sage-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 93, 74, 0.2);
    color: white;
}

.btn-secondary, .button-secondary {
    background-color: transparent;
    color: var(--text-secondary);
    border-color: var(--border);
}

.btn-secondary:hover, .button-secondary:hover {
    background-color: var(--surface);
    border-color: var(--sage-300);
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Content Sections */
.content-section {
    background-color: var(--cream-100);
}

.section-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--surface-dark);
    color: var(--sage-100);
    padding: 4rem 0 2rem;
}

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

.footer h3 {
    color: var(--cream-50);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer p,
.footer a {
    color: var(--sage-200);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--cream-50);
}

.footer-links, .footer ul {
    list-style: none;
}

.footer-links li, .footer ul li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--sage-300);
    font-size: 0.875rem;
}

.footer .legal ul {
    list-style: none;
    padding: 0;
}

.footer .contact h3 {
    margin-bottom: 0.5rem;
}

/* Privacy Page Specific */
.page-content {
    padding: 80px 0;
}

.last-updated {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--sage-800);
}

.policy-section h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--sage-700);
}

.policy-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 968px) {
    :root {
        --section-padding: 80px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-nav {
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    html {
        font-size: 16px;
    }
    
    :root {
        --section-padding: 60px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn, .button {
        width: 100%;
        text-align: center;
    }
    
    .main-nav {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
}


/* ========================================
   MINDFUL ECHO HOMEPAGE SPECIFIC STYLES
   ======================================== */

.manifesto {
    background-color: var(--cream-100);
}

.manifesto .prose {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto .prose p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.applications {
    background-color: var(--background);
}

.applications h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 4rem;
}

.app-card {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    max-width: 900px;
    margin: 0 auto;
}

.app-card svg.app-logo {
    display: block;
    margin-bottom: 2rem;
}

.app-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--sage-800);
}

.app-tagline {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.app-features {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.app-features li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--text-secondary);
}

.app-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

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

.ethics {
    background-color: var(--sage-50);
}

.ethics h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.ethics-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
}

.ethics-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.125rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

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

.ethics-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.closing {
    background-color: var(--cream-100);
    text-align: center;
}

.closing-text p {
    font-size: 1.375rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-nav a {
    color: var(--sage-200);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: var(--cream-50);
}

.copyright {
    text-align: center;
    color: var(--sage-300);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    text-align: center;
    color: var(--sage-400);
    font-size: 0.875rem;
    font-style: italic;
}

/* ========================================
   VERSE MY DAYS PAGE SPECIFIC STYLES
   ======================================== */

.what-it-is {
    background-color: var(--cream-100);
}

.journey-section {
    margin-bottom: 5rem;
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto;
}

.journey-step {
    position: relative;
    padding-top: 5rem;
}

.step-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--sage-700);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-serif);
}

.journey-step h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--sage-800);
    text-align: center;
}

.journey-detail {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto;
}

.statement {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--sage-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--sage-700);
}

.statement h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--sage-800);
}

.statement p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.statement p:last-child {
    margin-bottom: 0;
}

.get-the-app {
    background-color: var(--sage-50);
    text-align: center;
}

.content-block {
    max-width: 700px;
    margin: 0 auto;
}

.content-block h2 {
    margin-bottom: 2rem;
}

.app-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.note {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Responsive adjustments for original layouts */
@media (max-width: 968px) {
    .journey-steps,
    .features-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .journey-steps,
    .features-section {
        grid-template-columns: 1fr;
    }
    
    .journey-step {
        padding-left: 0;
        padding-top: 4rem;
    }
    
    .step-indicator {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .journey-step h2,
    .journey-detail {
        text-align: center;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .app-buttons .button {
        width: 100%;
    }
}
