:root {
    --cream: #fbf8ef;
    --green: #056839;
    --green-dark: #034d2a;
    --green-light: #0d8a4d;
    --surface: rgba(251, 248, 239, 0.82);
    --surface-strong: rgba(255, 255, 255, 0.96);
    --border: rgba(5, 104, 57, 0.12);
    --text: #1a2e24;
    --muted: rgba(26, 46, 36, 0.65);
    --accent: var(--green);
    --accent-soft: rgba(5, 104, 57, 0.06);
    --shadow-soft: 0 12px 40px rgba(5, 104, 57, 0.08);
    --shadow-strong: 0 24px 60px rgba(5, 104, 57, 0.15);
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    min-height: 100svh;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background: 
        radial-gradient(circle at 0% 0%, rgba(5, 104, 57, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(246, 237, 206, 0.4) 0%, transparent 40%),
        linear-gradient(135deg, #ffffff 0%, #f4f9f6 100%);
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(5, 104, 57, 0.03) 1px, transparent 0);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
    z-index: -1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.fade-in { animation: fadeIn 0.8s ease-out forwards; }
.slide-up { animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.scale-up { animation: scaleUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; opacity: 0; }

.page-shell {
    width: min(1000px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.hero-panel {
    width: 100%;
    position: relative;
    padding: 24px;
    display: grid;
    gap: 20px;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand-logo {
    width: 90px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.05));
}

.brand-text {
    display: grid;
    gap: 4px;
}

.eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--green);
    opacity: 0.8;
}

.brand-motto {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: -0.01em;
}

.hero-copy {
    max-width: 600px;
}

h1 {
    margin: 0 0 8px;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0c2018;
}

.intro {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.intake-card {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.intake-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border-color: rgba(5, 104, 57, 0.2);
}

.card-icon {
    width: 34px;
    height: 34px;
    background: var(--accent-soft);
    color: var(--green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.card-icon svg {
    width: 18px;
    height: 18px;
}

.card-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green);
    margin-bottom: 4px;
    opacity: 0.7;
}

.intake-card h2 {
    margin: 0 0 2px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.card-summary {
    color: var(--muted);
    line-height: 1.35;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.card-points {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
}

.card-points span {
    padding: 2px 8px;
    background: #f0f7f3;
    color: var(--green);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
}

.card-link {
    margin-top: auto;
    background: var(--green);
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(5, 104, 57, 0.2);
    font-size: 0.85rem;
}

.card-link:hover {
    background: var(--green-dark);
    box-shadow: 0 6px 20px rgba(5, 104, 57, 0.3);
}

.card-link svg {
    transition: transform 0.3s ease;
}

.card-link:hover svg {
    transform: translate(2px, -2px);
}

.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-links a {
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.7;
}

.sep {
    opacity: 0.3;
}

@media (max-width: 850px) {
    .page-shell {
        padding: 20px 0;
    }
    
    .hero-panel {
        padding: 40px;
        border-radius: 32px;
    }
    
    .selection-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .hero-panel {
        padding: 24px;
        border-radius: 24px;
        gap: 32px;
    }
    
    .brand-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    h1 {
        font-size: 2rem;
    }
}
