/* Typography & Custom Variables */
@import url('https://googleapis.com');

:root {
    --bg-cream: #fbf9f5;
    --bg-card: #f5f0e6;
    --forest-green: #1b4332;
    --forest-light: #2d6a4f;
    --text-dark: #2b2d42;
    --text-muted: #5c675f;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.25s ease-in-out;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Prevents ugly horizontal mobile scrolling */
}

/* Header & Mobile-First Navigation */
header {
    background-color: var(--bg-cream);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column; /* Stacked layout by default for tiny screens */
    align-items: center;
    gap: 1rem;
}

@media (min-width: 48rem) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 1.5rem 2rem;
    }
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--forest-green);
    text-decoration: none;
    letter-spacing: -0.5px;
    text-align: center;
}

.logo span {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-top: -2px;
    color: var(--text-muted);
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Wraps clean if a phone screen is extremely thin */
    gap: 1rem 1.5rem;
    width: 100%;
}

@media (min-width: 48rem) {
    nav {
        width: auto;
        gap: 2rem;
    }
}

nav a {
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.25rem 0;
    position: relative;
    transition: var(--transition);
}

nav a:hover, nav a.active {
    color: var(--forest-green);
}

/* Page Architecture */
.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1rem; /* Generous padding without hitting glass edges */
}

@media (min-width: 48rem) {
    .page {
        padding: 4rem 2rem;
    }
}

/* Fluid Hero Section */
.hero {
    text-align: center;
    max-width: 750px;
    margin: 1rem auto 3rem auto;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 2.2rem; /* Scaled down for mobile reading comfort */
    color: var(--forest-green);
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 48rem) {
    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
}

.hero p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

@media (min-width: 48rem) {
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }
}

/* Touch-Optimized CSS Buttons */
.btn-group {
    display: flex;
    flex-direction: column; /* Stacked layout for easy thumb-tapping */
    gap: 1rem;
    max-width: 320px;
    margin: 0 auto;
}

@media (min-width: 30rem) {
    .btn-group {
        flex-direction: row;
        max-width: none;
        justify-content: center;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem; /* Bigger target area for fingers */
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--forest-green);
    width: 100%; /* Spans across screen elegantly on phone viewports */
}

@media (min-width: 30rem) {
    .btn {
        width: auto;
    }
}

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

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

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

.btn-secondary:hover {
    background-color: rgba(27, 67, 50, 0.05);
}

/* Mobile-First Responsive Grids */
.features-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column layout on phone */
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 48rem) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        margin-bottom: 5rem;
    }
}

.feature-card {
    background-color: var(--bg-card);
    padding: 2rem 1.5rem;
    border-radius: 6px;
    border: 1px solid rgba(27, 67, 50, 0.04);
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--forest-green);
    margin-bottom: 0.5rem;
}

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

/* Product Viewport Adjustments */
.product-layout {
    display: grid;
    grid-template-columns: 1fr; /* Stack layout on handheld screens */
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 48rem) {
    .product-layout {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
}

.product-meta h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--forest-green);
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 48rem) {
    .product-meta h2 {
        font-size: 2.8rem;
    }
}

.tag {
    display: inline-block;
    background-color: rgba(27, 67, 50, 0.08);
    color: var(--forest-green);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.bullet-list {
    list-style: none;
    margin: 1.5rem 0;
}

.bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
    font-size: 1rem;
    color: var(--text-dark);
}

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

/* Flexible Technical Cards */
.data-section {
    background-color: var(--white);
    border-radius: 6px;
    padding: 1.5rem;
    border: 1px solid rgba(27, 67, 50, 0.06);
}

@media (min-width: 48rem) {
    .data-section {
        padding: 2.5rem;
    }
}

.data-section h3 {
    font-family: var(--font-serif);
    color: var(--forest-green);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid rgba(27, 67, 50, 0.08);
    padding-bottom: 0.5rem;
}

.data-grid {
    display: grid;
    grid-template-columns: 1fr; /* Switch definitions to individual rows to prevent mobile cutting */
    gap: 0.75rem;
    font-size: 0.95rem;
}

@media (min-width: 30rem) {
    .data-grid {
        grid-template-columns: max-content 1fr;
        gap: 1rem 2rem;
    }
}

.data-label {
    font-weight: 600;
    color: var(--forest-green);
}

.data-value {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

@media (min-width: 30rem) {
    .data-value {
        margin-bottom: 0;
    }
}

/* Clean Instruction Blocks */
.instruction-box {
    background-color: var(--bg-card);
    border-left: 4px solid var(--forest-green);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border-radius: 0 6px 6px 0;
}

.instruction-box h4 {
    font-weight: 600;
    color: var(--forest-green);
    margin-bottom: 0.35rem;
}

/* Footer Architecture */
footer {
    background-color: var(--forest-green);
    color: var(--bg-cream);
    padding: 3rem 1rem;
    margin-top: 4rem;
}

@media (min-width: 48rem) {
    footer {
        padding: 4rem 2rem;
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 48rem) {
    .footer-container {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 4rem;
    }
}

.footer-brand h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: rgba(251, 249, 245, 0.75);
    font-size: 0.95rem;
}

.footer-contact h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: rgba(251, 249, 245, 0.9);
}

.contact-link {
    display: block;
    color: rgba(251, 249, 245, 0.75);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    word-break: break-all; /* Prevents long emails from extending out of mobile boundaries */
}

.footer-bottom {
    text-align: center;
    max-width: 1200px;
    margin: 2.5rem auto 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(251, 249, 245, 0.1);
    font-size: 0.8rem;
    color: rgba(251, 249, 245, 0.45);
}
