/* --- Variables & Theme --- */
:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-light: #f4f4f9;
    --gray-mid: #777;
    --gray-dark: #1a1a1a;

    /* Brand Accents */
    --pro-green: #2d6a4f; /* Adjust to match your Pro logo */
    --spruce-blue: #4361ee; /* Adjust to match your Spruce logo */

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--black);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.container-text {
    max-width: 75ch; /* Limits width to ~75 characters for optimal reading */
    margin: 0 auto;
}

h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: tight;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 { margin: 2rem; } /* Massive air before new sections */

/* --- Navigation --- */
nav {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--black);
    margin-left: 3rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--pro-green); }

/* --- Hero Section --- */
.hero-section {
    padding: 12rem 0 8rem;
    text-align: center;
    background: radial-gradient(circle at center, #fdfdfd 0%, #fff 100%);
}

.hero-section h1 { font-size: clamp(3rem, 7vw, 5rem); margin-bottom: 2rem; }
.highlight { color: var(--pro-green); }

.hero-lead {
    font-size: 1.4rem;
    color: var(--gray-mid);
    max-width: 1200px;
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    margin-top: 5rem 0.1rem;
}

.btn-primary { background: var(--black); color: var(--white); border: 1px solid var(--black); }
.btn-primary:hover { background: transparent; color: var(--black); }

.btn-secondary { background: transparent; color: var(--black); border: 1px solid var(--gray-light); margin-left: 1rem; }
.btn-secondary:hover { border-color: var(--black); }

/* --- Product Cards --- */
.products-overview { padding: 5rem 0; background: var(--gray-light); }

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

/* Specific Accent Borders */
.product-card.pro { border-top: 5px solid var(--pro-green); }
.product-card.spruce { border-top: 5px solid var(--spruce-blue); }

.product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

/* --- Stats Bar --- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    padding: 3rem 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.stat-number { font-size: 3.5rem; font-weight: 900; display: block;  }

/* --- Footer --- */
footer {
    background: var(--black);
    color: var(--white);
    padding: 5rem 0;
    margin-top: 5rem;
}

/* --- Footer Styles --- */
.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 120px 0 60px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 100px;
    margin-bottom: 100px;
}

.footer-column .logo-text {
    color: var(--white);
    display: block;
    margin-bottom: 20px;
}

.footer-bio {
    color: #888;
    font-size: 0.95rem;
    max-width: 300px;
}

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

.footer-column ul li {
    margin-bottom: 20px;
}

.footer-column ul li a {
    color: #888;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 8px; /* Subtle movement */
}

.footer-column .menu-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #555;
    font-weight: 700;
    margin-bottom: 40px;
}

/* --- Bottom Legal Bar --- */
.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 60px;
}

.bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #555;
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 50px;
    list-style: none;
}

.legal-links a {
    color: #444;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.legal-links a:hover {
    color: var(--white);
}

/* --- Simple Page Header (Non-Home) --- */
.page-header {
    padding: 12rem 0 4rem; /* Keeps the top air consistent with home */
    background: #fff;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 0;
    color: var(--black);
}

/* A subtle design element to add 'Deep Tech' flavor */
.header-line {
    width: 60px;
    height: 4px;
    background: var(--black);
    margin-top: 1.5rem;
}

/* Adjust the content spacing after a page header */
.page-header + .container,
.page-header + .legal-container {
    padding-top: 0;
}
/* --- The Elegant Prose Engine --- */
.prose {
    max-width: 75ch;
    margin: 0 auto;
    padding: 6rem 0 10rem;
}

/* Typography Refinement */
.prose p {
    font-weight: 400;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}
.prose p revision-date {
    margin-bottom: 1rem;
}

/* THE "SEXY" LIST UPGRADE */
.prose ul {
    list-style: none; /* Remove boring dots */
    padding: 0;
    margin-bottom: 3rem;
}

.prose li {
    position: relative;
    padding-left: 2.5rem; /* Space for custom bullet */
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

/* Custom Minimalist Bullet (Thin Dash) */
.prose li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem; /* Aligns with first line of text */
    width: 20px;
    height: 1px;
    background: var(--pro-green); /* Subtle brand accent */
    transition: width 0.3s ease;
}

/* Hover effect for interactivity */
.prose li:hover::before {
    width: 30px;
}

/* Headings: Thin & Wide */
.prose h2 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-mid);
    margin-top: 6rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Blockquotes for key scientific statements */
.prose blockquote {
    border-left: 2px solid var(--black);
    padding: 1rem 0 1rem 3rem;
    margin: 4rem 0;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--black);
}

.elegant-grid-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 4rem;
    list-style: none;
    margin: 4rem 0;
}

.elegant-grid-list li {
    border-top: 1px solid var(--gray-light);
    padding-top: 1.5rem;
    font-size: 0.95rem;
}

.elegant-grid-list strong {
    display: block;
    color: var(--black);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}
/* Responsive adjustment */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bottom-wrapper {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}