@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Shadcn Zinc Palette */
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;
    --muted: 240 4.8% 95.9%;
    --muted-foreground: 240 3.8% 46.1%;
    --border: 240 5.9% 90%;
    --input: 240 5.9% 90%;
    --primary: 240 5.9% 10%;
    --primary-foreground: 0 0% 98%;
    --secondary: 240 4.8% 95.9%;
    --secondary-foreground: 240 5.9% 10%;
    --accent: 240 4.8% 95.9%;
    --accent-foreground: 240 5.9% 10%;
    
    /* Border Radius - 1.25rem = 20px */
    --radius: 1.25rem;
    --capsule: 9999px;

    /* Nav Specifics */
    --nav-h: 64px; 
    --hover-green: #e8f5e9;
    --text-green: #2e7d32;
}

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

body {
    font-family: var(--font-sans);
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--nav-h);
}

h1, h2, h3 { letter-spacing: -0.03em; font-weight: 700; }

/* --- Navigation --- */
nav {
    position: fixed; 
    top: 0; left: 0; right: 0; 
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); 
    border-bottom: 1px solid hsl(var(--border));
    z-index: 1000; 
    display: flex; 
    align-items: center; 
    padding: 0 1.5rem;
}

.nav-container { display: flex; align-items: center; }

.brand-link {
    display: flex; align-items: center; text-decoration: none;
    padding: 0.5rem 1.25rem; border-radius: var(--capsule);
    transition: background-color 0.2s ease-in-out;
}
.brand-link:hover { background-color: var(--hover-green); }

.nav-links { display: flex; align-items: center; gap: 0.25rem; margin-left: 0.5rem; }

nav a {
    text-decoration: none; color: hsl(var(--foreground));
    font-size: 1rem; font-weight: 500; transition: all 0.2s ease-in-out;
    padding: 0.4rem 0.85rem; border-radius: var(--capsule);
}

nav a:hover:not(.brand-link) { background-color: var(--hover-green); color: var(--text-green); }

.nav-logo { height: 40px; width: auto; display: block; }

/* --- UI Components --- */
.card {
    border: 1px solid hsl(var(--border)); border-radius: var(--radius);
    background: hsl(var(--card)); padding: 1.5rem; overflow: hidden;
}

.btn {
    font-family: var(--font-sans); display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--capsule); font-size: 1rem; font-weight: 500;
    height: 2.5rem; padding: 0 1.5rem; transition: 0.2s; cursor: pointer; border: none;
    text-decoration: none;
}
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

/* --- Footer & Fine Print --- */
footer { 
    border-top: 1px solid hsl(var(--border)); 
    padding: 3rem 0; 
    text-align: center; 
}

.footer-text { 
    font-size: 0.75rem; /* 12px Fine Print */
    color: hsl(var(--muted-foreground)); 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    font-weight: 500;
}

/* --- Layout --- */
.container { max-width: 1000px; margin: 0 auto; padding: 4rem 1.5rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
header { text-align: center; margin-bottom: 4rem; }
h1 { font-size: 3.5rem; font-weight: 800; }

@media (max-width: 768px) {
    h1 { font-size: 2.75rem; }
    nav { justify-content: center; }
}