/* ===========================================
   Erdpuls Collective Threshold Model
   Design System v2.0
   =========================================== */

/* ===========================================
   CSS Variables - Design Tokens
   =========================================== */

:root {
    /* Primary Palette - Organic Greens */
    --color-forest: #1a3a2f;
    --color-moss: #2d5a47;
    --color-sage: #6b8f71;
    --color-lichen: #a4c3a2;
    
    /* Neutral Palette */
    --color-cream: #f7f5f0;
    --color-sand: #e8e4db;
    --color-bark: #3d2b1f;
    
    /* Accent Colors */
    --color-amber: #c4873b;
    --color-terracotta: #b85c38;
    
    /* Semantic Aliases */
    --color-primary: var(--color-moss);
    --color-primary-dark: var(--color-forest);
    --color-primary-light: var(--color-sage);
    --color-secondary: var(--color-amber);
    --color-accent: var(--color-amber);
    
    --color-bg: var(--color-cream);
    --color-bg-alt: var(--color-sand);
    --color-surface: #ffffff;
    --color-text: var(--color-forest);
    --color-text-muted: var(--color-bark);
    --color-text-light: var(--color-sage);
    --color-border: rgba(26, 58, 47, 0.12);
    
    /* Status Colors */
    --color-success: #2d5a47;
    --color-success-bg: #e8f5e9;
    --color-warning: #c4873b;
    --color-warning-bg: #fff8e1;
    --color-error: #b85c38;
    --color-error-bg: #ffebee;
    --color-info: #1565c0;
    --color-info-bg: #e3f2fd;
    
    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(26, 58, 47, 0.08);
    --shadow-md: 0 4px 12px rgba(26, 58, 47, 0.1);
    --shadow-lg: 0 12px 32px rgba(26, 58, 47, 0.12);
    --shadow-xl: 0 24px 48px rgba(26, 58, 47, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===========================================
   Reset & Base Styles
   =========================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Subtle grain texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.025;
    z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===========================================
   Typography
   =========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

em {
    font-style: italic;
    color: var(--color-moss);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===========================================
   Header
   =========================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md) 0;
    transition: padding var(--transition-normal);
}

.site-header.scrolled {
    padding: var(--space-sm) 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-text);
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--color-moss);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform var(--transition-normal);
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--color-forest);
}

.logo-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--color-sage);
    letter-spacing: 0.02em;
    line-height: 1.2;
    max-width: 220px;
}

.main-nav {
    display: flex;
    gap: var(--space-lg);
}

.main-nav a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    padding: var(--space-sm) 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-amber);
    transition: width var(--transition-normal);
}

.main-nav a:hover {
    color: var(--color-forest);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: var(--space-sm) 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition-fast);
}

.nav-dropdown-toggle:hover {
    color: var(--color-forest);
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: var(--space-sm);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-bark);
    font-size: 0.9rem;
    font-weight: 400;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-dropdown-menu a:hover {
    background: var(--color-sand);
    color: var(--color-forest);
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.lang-switcher {
    display: flex;
    gap: 2px;
    background: var(--color-sand);
    padding: 3px;
    border-radius: var(--radius-md);
}

.lang-switcher a {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--color-sage);
    transition: all var(--transition-fast);
}

.lang-switcher a.active,
.lang-switcher a:hover {
    background: var(--color-cream);
    color: var(--color-forest);
}

.auth-nav {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-forest);
    transition: all var(--transition-fast);
}

/* ===========================================
   Buttons
   =========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-small {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.875rem;
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--color-forest);
    color: var(--color-cream);
    border-color: var(--color-forest);
}

.btn-primary:hover {
    background: var(--color-moss);
    border-color: var(--color-moss);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-cream);
}

.btn-secondary {
    background: transparent;
    color: var(--color-forest);
    border-color: var(--color-forest);
}

.btn-secondary:hover {
    background: var(--color-forest);
    color: var(--color-cream);
}

.btn-outline {
    background: transparent;
    color: var(--color-forest);
    border-color: var(--color-forest);
}

.btn-outline:hover {
    background: var(--color-sand);
    color: var(--color-forest);
    border-color: var(--color-forest);
}

.btn-full {
    width: 100%;
}

/* ===========================================
   Flash Messages
   =========================================== */

.flash-container {
    padding-top: var(--space-md);
}

.flash-message {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    border-left: 4px solid;
}

.flash-success {
    background: var(--color-success-bg);
    color: var(--color-success);
    border-left-color: var(--color-success);
}

.flash-error {
    background: var(--color-error-bg);
    color: var(--color-error);
    border-left-color: var(--color-error);
}

.flash-warning {
    background: var(--color-warning-bg);
    color: var(--color-warning);
    border-left-color: var(--color-warning);
}

.flash-info {
    background: var(--color-info-bg);
    color: var(--color-info);
    border-left-color: var(--color-info);
}

.flash-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.flash-close:hover {
    opacity: 1;
}

/* ===========================================
   Hero Section (Landing Page)
   =========================================== */

.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-lg) var(--space-lg) var(--space-xl);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(164, 195, 162, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(107, 143, 113, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(45, 90, 71, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-moss);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--color-amber);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
    color: var(--color-forest);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--color-moss);
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
    color: var(--color-moss);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-bark);
    max-width: 580px;
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.8s forwards;
}

/* Hero features - location info in dark card */
.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm) var(--space-lg);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.hero-feature .feature-icon {
    font-size: 1.1rem;
    line-height: 1.3;
    flex-shrink: 0;
}

.hero-feature .feature-text {
    font-size: 0.85rem;
    color: var(--color-bark);
    line-height: 1.4;
}

/* Hero decoration - simple organic shapes */
.hero-decoration {
    position: absolute;
    right: -2%;
    top: 55%;
    transform: translateY(-50%);
    width: 42%;
    max-width: 420px;
    aspect-ratio: 1;
    opacity: 0;
    animation: fadeIn 1.2s ease 1s forwards;
    pointer-events: none;
}

/* Base organic shapes */
.organic-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    background: linear-gradient(135deg, var(--color-lichen) 0%, var(--color-sage) 50%, var(--color-moss) 100%);
    opacity: 0.45;
    animation: morphShape 20s ease-in-out infinite;
}

.organic-shape-2 {
    animation-delay: -10s;
    opacity: 0.25;
    transform: scale(0.85) rotate(45deg);
    background: linear-gradient(225deg, var(--color-sage) 0%, var(--color-moss) 100%);
}


/* ===========================================
   Quote (inside hero)
   =========================================== */

.hero-quote {
    max-width: 700px;
    text-align: center;
    margin-bottom: var(--space-md);
}

.hero-quote p {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-forest);
    margin-bottom: var(--space-xs);
}

.hero-quote cite {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-style: normal;
    color: var(--color-sage);
}

/* ===========================================
   Stats Bar
   =========================================== */

.stats-bar {
    background: var(--color-forest);
    color: var(--color-cream);
    padding: var(--space-xl) 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--color-lichen);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===========================================
   Section Styles
   =========================================== */

.section {
    padding: var(--space-4xl) 0;
}

.section-alt {
    background: var(--color-sand);
}

.section-dark {
    background: var(--color-forest);
    color: var(--color-cream);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-amber);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ===========================================
   Cards
   =========================================== */

.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-lichen), var(--color-sage));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.card-text {
    color: var(--color-bark);
    font-size: 0.95rem;
}

/* Philosophy Cards */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.philosophy-card {
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-moss), var(--color-lichen));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.philosophy-card:hover::before {
    transform: scaleX(1);
}

/* Three Streams */
.streams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.stream-card {
    background: var(--color-cream);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.stream-card.highlight {
    background: var(--color-forest);
    color: var(--color-cream);
}

.stream-card.highlight .stream-meta {
    color: var(--color-lichen);
}

.stream-card.highlight .stream-text {
    color: rgba(255, 255, 255, 0.85);
}

.stream-meta {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-amber);
    margin-bottom: var(--space-md);
}

.stream-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.stream-text {
    color: var(--color-bark);
    flex-grow: 1;
}

.stream-icon {
    font-size: 2.5rem;
    margin-top: auto;
    opacity: 0.3;
    align-self: flex-end;
}

/* ===========================================
   Offerings
   =========================================== */

.offerings-section {
    padding: var(--space-4xl) 0;
}

.offerings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-2xl);
}

.offerings-header .section-header {
    text-align: left;
    margin-bottom: 0;
}

.offerings-grid {
    display: grid;
    gap: var(--space-lg);
}

.offering-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.offering-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.offering-visual {
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-moss) 100%);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.offering-visual-icon {
    font-size: 4rem;
    opacity: 0.4;
}

.offering-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
}

.offering-badge {
    display: inline-block;
    background: var(--color-lichen);
    color: var(--color-forest);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    width: fit-content;
}

.offering-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.offering-desc {
    color: var(--color-bark);
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.offering-progress {
    background: var(--color-sand);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
}

.progress-bar {
    height: 8px;
    background: var(--color-cream);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-moss), var(--color-lichen));
    border-radius: var(--radius-full);
    transition: width 0.6s ease;
}

.progress-fill.threshold-reached {
    background: linear-gradient(90deg, var(--color-amber), var(--color-terracotta));
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.progress-stats strong {
    color: var(--color-forest);
}

.offering-footer {
    display: flex;
    gap: var(--space-md);
}

/* No Offerings State */
.no-offerings {
    text-align: center;
    padding: var(--space-4xl);
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    color: var(--color-text-muted);
}

.no-offerings-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

/* ===========================================
   Quote Section
   =========================================== */

.quote-section {
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-moss);
    color: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 30rem;
    position: absolute;
    top: -6rem;
    left: -1rem;
    opacity: 0.05;
    line-height: 1;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}

.quote-attribution {
    font-size: 1rem;
    opacity: 0.8;
}

.quote-attribution strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

/* ===========================================
   Location Section
   =========================================== */

.location-section {
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-forest);
    color: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.location-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 50% 100% at 100% 50%, rgba(107, 143, 113, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.location-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-lichen);
    margin-bottom: var(--space-sm);
}

.location-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--color-cream);
}

.location-text {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.location-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.location-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(164, 195, 162, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.location-visual {
    background: var(--color-moss);
    border-radius: var(--radius-xl);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    padding: var(--space-xl);
}

.map-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

/* ===========================================
   CTA Section
   =========================================== */

.cta-section {
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-sand);
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.15rem;
    color: var(--color-bark);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ===========================================
   Footer
   =========================================== */

.site-footer {
    background: var(--color-bark);
    color: var(--color-cream);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo-icon {
    font-size: 1.5rem;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
    color: var(--color-cream);
}

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

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-lichen);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom a {
    color: inherit;
}

.footer-bottom a:hover {
    color: var(--color-lichen);
}

/* ===========================================
   Animations
   =========================================== */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes morphShape {
    0%, 100% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
    25% { border-radius: 50% 50% 40% 60% / 40% 50% 60% 50%; }
    50% { border-radius: 40% 60% 50% 50% / 60% 40% 50% 50%; }
    75% { border-radius: 50% 50% 60% 40% / 50% 60% 40% 50%; }
}

/* ===========================================
   Forms (Auth, Contribution, etc.)
   =========================================== */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-moss);
    box-shadow: 0 0 0 3px rgba(45, 90, 71, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* Checkbox Groups (e.g., Delivery Language Selection) */
.checkbox-group {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
}

.checkbox-group.language-selection {
    gap: var(--space-xl);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--color-forest);
    cursor: pointer;
}

.checkbox-label span {
    font-size: 0.95rem;
    color: var(--color-text);
}

/* Field Hints */
.field-hint {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: var(--space-xs) 0 var(--space-sm) 0;
    line-height: 1.4;
}

/* Character Counter */
.char-hint {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.char-count {
    font-family: var(--font-mono, monospace);
    font-size: 0.8rem;
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
    background: var(--color-sand);
    margin-left: auto;
}

.char-count.char-warning {
    background: var(--color-warning-bg);
    color: var(--color-warning);
}

.char-count.char-ok {
    background: var(--color-success-bg);
    color: var(--color-success);
}

/* Auth Pages */
.auth-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    min-height: 70vh;
}

.auth-card {
    background: var(--color-surface);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.auth-header h1 {
    margin-bottom: var(--space-sm);
}

.auth-header p {
    color: var(--color-text-muted);
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

/* Alert Messages */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border-left: 4px solid;
}

.alert-success {
    background: var(--color-success-bg);
    color: var(--color-success);
    border-left-color: var(--color-success);
}

.alert-error {
    background: var(--color-error-bg);
    color: var(--color-error);
    border-left-color: var(--color-error);
}

/* ===========================================
   Existing Component Compatibility
   =========================================== */

/* Fund Page */
.fund-hero {
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-moss) 100%);
    color: var(--color-cream);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.fund-hero h1 {
    color: var(--color-cream);
}

.balance-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
}

.balance-amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--color-lichen);
}

/* Dashboard */
.dashboard-header {
    background: var(--color-forest);
    color: var(--color-cream);
    padding: var(--space-2xl) 0;
}

.dashboard-header h1 {
    color: var(--color-cream);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    padding: var(--space-2xl) 0;
}

/* Contribution Flow */
.contribute-section {
    padding: var(--space-3xl) 0;
}

.contribution-box {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border);
}

.anonymity-notice {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: var(--color-info-bg);
    border-left: 4px solid var(--color-info);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}

.notice-icon {
    font-size: 1.5rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

th {
    background: var(--color-bg-alt);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.status-open { background: var(--color-success-bg); color: var(--color-success); }
.status-threshold_met { background: var(--color-warning-bg); color: var(--color-warning); }
.status-completed { background: var(--color-info-bg); color: var(--color-info); }
.status-cancelled { background: var(--color-error-bg); color: var(--color-error); }

/* ===========================================
   Responsive Design
   =========================================== */

@media (max-width: 1024px) {
    .hero-decoration {
        display: none;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item:nth-child(2) {
        border-right: none;
    }
    
    .philosophy-grid,
    .streams-grid {
        grid-template-columns: 1fr;
    }
    
    .location-container {
        grid-template-columns: 1fr;
    }
    
    .location-visual {
        min-height: 280px;
    }
    
    .offering-card {
        grid-template-columns: 1fr;
    }
    
    .offering-visual {
        min-height: 180px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-subtitle {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .offerings-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .location-features {
        grid-template-columns: 1fr;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 640px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: var(--space-md) 0;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

/* ===== ABOUT & MODEL PAGE STYLES ===== */

/* Page Hero */
.page-hero {
    padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
    background: linear-gradient(135deg, var(--color-cream) 0%, #f5f0e8 50%, #e8e0d5 100%);
    text-align: center;
}

.page-hero.compact {
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
}

.page-hero.compact .page-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-sm);
}

.page-hero.compact .page-intro {
    font-size: 1rem;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-forest);
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-bark);
    max-width: 700px;
    margin: 0 auto;
}

/* Content Grid */
.content-grid {
    max-width: 800px;
    margin: 0 auto;
}

.content-main h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--color-forest);
    margin-bottom: var(--space-lg);
}

.content-main p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-bark);
    margin-bottom: var(--space-md);
}

/* Pull Quote */
.pull-quote {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--color-forest);
    border-left: 3px solid var(--color-sage);
    padding-left: var(--space-lg);
    margin: var(--space-xl) 0;
}

.pull-quote.centered {
    border-left: none;
    text-align: center;
    padding-left: 0;
    max-width: 700px;
    margin: 0 auto;
}

.pull-quote cite {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: normal;
    color: var(--color-sage);
    margin-top: var(--space-sm);
}

/* Quote Section Inline */
.quote-section-inline {
    background: var(--color-cream);
    padding: var(--space-xl) var(--space-lg);
}

/* Features Grid (About page) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: white;
    padding: var(--space-xl);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.feature-card .feature-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-forest);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-bark);
}

/* Achievements List */
.achievements-list {
    max-width: 700px;
    margin: 0 auto;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.achievement-item .achievement-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.achievement-item p {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--color-bark);
}

.achievement-item.highlight {
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-moss) 100%);
    padding: var(--space-lg);
    border-radius: 8px;
    margin-top: var(--space-md);
    border-bottom: none;
}

.achievement-item.highlight p {
    color: white;
    font-weight: 500;
}

/* CTA Roles */
.cta-roles {
    text-align: left;
    max-width: 600px;
    margin: var(--space-xl) auto;
}

.cta-roles p {
    margin-bottom: var(--space-md);
    font-size: 1rem;
    line-height: 1.6;
}

.cta-closing {
    text-align: center;
    margin: var(--space-xl) 0;
}

.cta-pulse {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-forest);
}

.cta-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-moss);
    margin: var(--space-lg) 0;
}

.cta-quote {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--color-forest);
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.cta-quote cite {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-style: normal;
    color: var(--color-sage);
    margin-top: var(--space-sm);
}

.cta-quote-small {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-bark);
    max-width: 600px;
    margin: var(--space-lg) auto;
    opacity: 0.9;
}

/* Steps Grid (Model page) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
}

.step-card {
    background: white;
    padding: var(--space-xl);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-forest);
    color: white;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-forest);
    margin-bottom: var(--space-sm);
}

.step-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-bark);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
}

.feature-list li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-bark);
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-sage);
}

/* Questions Grid */
.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    max-width: 800px;
    margin: 0 auto;
}

.question-card {
    background: white;
    padding: var(--space-lg);
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-forest);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ===== PATHWAYS PAGE STYLES ===== */

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.pathway-card {
    background: white;
    padding: var(--space-xl);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 2px solid transparent;
    transition: border-color var(--transition-fast);
}

.pathway-card:hover {
    border-color: var(--color-sage);
}

.pathway-card.highlight {
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-moss) 100%);
    color: white;
}

.pathway-card.highlight .pathway-title,
.pathway-card.highlight .pathway-subtitle,
.pathway-card.highlight .pathway-text,
.pathway-card.highlight .pathway-who {
    color: white;
}

.pathway-card.highlight .pathway-who strong {
    color: var(--color-amber);
}

.pathway-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.pathway-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-forest);
    margin-bottom: var(--space-xs);
}

.pathway-subtitle {
    font-size: 0.85rem;
    color: var(--color-sage);
    margin-bottom: var(--space-md);
}

.pathway-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-bark);
    margin-bottom: var(--space-md);
}

.pathway-who {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.pathway-who strong {
    color: var(--color-forest);
}

/* ===== TOKEN ECONOMY PAGE STYLES ===== */

.loop-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: var(--space-lg);
}

.loop-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
}

.loop-icon {
    font-size: 2rem;
}

.loop-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-forest);
    text-align: center;
    max-width: 120px;
}

.loop-arrow {
    font-size: 1.5rem;
    color: var(--color-sage);
}

.loop-return {
    color: var(--color-amber);
}

.loop-caption {
    text-align: center;
    font-style: italic;
    color: var(--color-bark);
    max-width: 700px;
    margin: 0 auto;
}

.earn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.earn-card {
    background: white;
    padding: var(--space-lg);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.earn-card.highlight {
    background: linear-gradient(135deg, var(--color-amber) 0%, #f5a623 100%);
}

.earn-card.highlight .earn-icon,
.earn-card.highlight .earn-amount,
.earn-card.highlight .earn-frequency,
.earn-card.highlight .earn-text,
.earn-card.highlight h3 {
    color: var(--color-forest);
}

.earn-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.earn-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-forest);
    margin-bottom: var(--space-xs);
}

.earn-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-amber);
    margin-bottom: var(--space-xs);
}

.earn-frequency {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.earn-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-bark);
}

.rate-highlight {
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-moss) 100%);
    color: white;
    padding: var(--space-xl);
    border-radius: 12px;
    text-align: center;
    margin-bottom: var(--space-lg);
}

.rate-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.rate-note {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== RECIPROCITY PAGE STYLES ===== */

.philosophy-grid.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.philosophy-card .card-subtitle {
    font-size: 0.85rem;
    color: var(--color-sage);
    margin-bottom: var(--space-md);
}

.highlight-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-forest);
    background: var(--color-sand);
    padding: var(--space-lg);
    border-radius: 8px;
    margin-top: var(--space-lg);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.practice-item {
    background: white;
    padding: var(--space-lg);
    border-radius: 8px;
    border-left: 3px solid var(--color-sage);
}

.practice-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-forest);
    margin-bottom: var(--space-sm);
}

.practice-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-bark);
    margin: 0;
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .page-hero {
        padding: var(--space-2xl) var(--space-md) var(--space-xl);
    }
    
    .features-grid,
    .steps-grid,
    .pathways-grid,
    .earn-grid,
    .philosophy-grid.pillars,
    .practice-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-roles {
        text-align: center;
    }
    
    .loop-diagram {
        flex-direction: column;
    }
    
    .loop-arrow {
        transform: rotate(90deg);
    }
    
    .loop-return {
        transform: rotate(180deg);
    }
}

/* ===== OFFERINGS PAGE STYLES ===== */

.section-compact {
    padding: var(--space-md) 0;
}

.how-it-works-brief {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-md);
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow-x: auto;
}

.brief-step {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-xs);
    flex-shrink: 0;
}

.brief-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--color-forest);
    color: white;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 50%;
}

.brief-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-bark);
    white-space: nowrap;
}

.brief-arrow {
    color: var(--color-sage);
    font-size: 1rem;
    flex-shrink: 0;
}

.how-it-works-link,
.methods-link {
    text-align: center;
    margin-top: var(--space-sm);
}

.how-it-works-link a,
.methods-link a {
    color: var(--color-forest);
    font-weight: 500;
    font-size: 0.9rem;
}

.how-it-works-link a:hover,
.methods-link a:hover {
    color: var(--color-moss);
}

.offerings-page-section {
    padding-top: var(--space-lg);
}

.offerings-page-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    gap: var(--space-md);
}

.offerings-page-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--color-forest);
    margin: 0;
}

.offerings-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.offering-card-full {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.offering-card-full .offering-visual {
    border-radius: 0;
}

.offering-card-full .offering-content {
    padding: var(--space-xl);
}

.offering-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.offering-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.offering-meta {
    display: flex;
    flex-direction: row;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.meta-item {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.badge-success {
    background: var(--color-moss);
}

.section-header.centered {
    text-align: center;
}

.contribution-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.method-card {
    background: white;
    padding: var(--space-xl);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.method-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--space-md);
}

.method-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-forest);
    margin-bottom: var(--space-sm);
}

.method-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-bark);
    margin: 0;
}

@media (max-width: 992px) {
    .contribution-methods {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .offering-card-full {
        grid-template-columns: 1fr;
    }
    
    .offering-card-full .offering-visual {
        height: 200px;
    }
    
    .how-it-works-brief {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .brief-step {
        flex-basis: 45%;
        justify-content: center;
    }
    
    .brief-arrow {
        display: none;
    }
    
    .offerings-page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contribution-methods {
        grid-template-columns: 1fr;
    }
    
    .offering-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* ===== LEGAL PAGES STYLES ===== */

.legal-hero {
    padding: var(--space-lg) var(--space-lg) var(--space-md);
}

.legal-hero .page-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal-content {
    padding: var(--space-xl) 0 var(--space-3xl);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-container h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-forest);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-sand);
}

.legal-container h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-container h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-bark);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-container p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-bark);
    margin-bottom: var(--space-md);
}

.legal-container ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.legal-container li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-bark);
    margin-bottom: var(--space-sm);
}

.legal-container a {
    color: var(--color-forest);
    text-decoration: underline;
}

.legal-container a:hover {
    color: var(--color-moss);
}

.legal-updated {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

/* Footer Legal Links - now in column, simplified bottom */
