:root {
    --white: #FFFFFF;
    --black: #0A0A0A;
    --panel-gray: #E7E4DC;
    --caption-gray: #8A8A8A;
    --grid-line: #D0D0D0; /* Thin rule for grid */
}

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

body {
    font-family: 'Archivo', -apple-system, sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.4;
    overflow-x: hidden;
    font-weight: 400;
}

a {
    color: var(--black);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.5;
}

.caption {
    color: var(--caption-gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.section-num {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

/* Typography */
h1 {
    font-size: clamp(60px, 8vw, 160px);
    font-weight: 900;
    font-stretch: 110%;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(40px, 5vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

p {
    font-size: 1.125rem;
    color: var(--black);
}

/* Grid System */
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--grid-line);
}

.border-bottom {
    border-bottom: 1px solid var(--grid-line);
}

/* Column Utilities */
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* Grid Borders applied to panels */
.grid-container > div {
    padding: 40px;
    border-right: 1px solid var(--grid-line);
}
.grid-container > div:last-child {
    border-right: none;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 100;
}

.nav-brand {
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: flex-end;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-text {
    border-right: none !important;
}

.hero-intro {
    font-size: 1.5rem;
    max-width: 800px;
    margin-bottom: 60px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 20px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0; /* Swiss style = sharp corners */
    text-align: center;
    border: 2px solid var(--black);
}

.btn-primary {
    background-color: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--black);
    opacity: 1; /* Reset opacity hover from general 'a' */
}

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

.btn-secondary:hover {
    background-color: var(--panel-gray);
    opacity: 1;
}

/* Panels */
.panel {
    background-color: var(--panel-gray);
    transition: background-color 0.3s ease;
}

.panel:hover {
    background-color: #DFDBD0;
}

/* Pricing */
.price-card {
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 30px;
}

.price-list {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 10px;
}

.inverted {
    background-color: var(--black) !important;
    color: var(--white);
}
.inverted h3, .inverted p, .inverted .price, .inverted li {
    color: var(--white);
}
.inverted .caption {
    color: rgba(255,255,255,0.6);
}
.inverted .price-list li {
    border-bottom-color: rgba(255,255,255,0.2);
}

.inverted-btn {
    background-color: var(--white);
    color: var(--black);
    border-color: var(--white);
}
.inverted-btn:hover {
    background-color: transparent;
    color: var(--white);
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.faq-item {
    border-bottom: 1px solid var(--grid-line);
    padding-bottom: 30px;
}
.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Footer */
.footer {
    border-bottom: none;
}
.footer-links {
    display: flex;
    gap: 30px;
    font-weight: 600;
    text-transform: uppercase;
}
.copyright {
    text-align: right;
}

/* Subpages General styles overrides */
.subpage-header {
    background: var(--white);
    color: var(--black);
    padding: 60px 40px;
    border-bottom: 1px solid var(--grid-line);
}
.subpage-content {
    background: var(--white);
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
}
.subpage-content h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}
.subpage-content p, .subpage-content ul {
    margin-bottom: 20px;
    font-size: 1.125rem;
}
.subpage-content ul {
    padding-left: 20px;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .nav-links {
        display: none; /* simple fix for mobile nav */
    }
    .col-3 { grid-column: span 6; }
    .col-4 { grid-column: span 12; }
    .grid-container > div:nth-child(even) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 60px; /* Fallback for older browsers */
    }
    .col-3, .col-4, .col-6, .col-8 {
        grid-column: span 12;
        border-right: none !important;
        border-bottom: 1px solid var(--grid-line);
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        padding: 24px; /* Larger touch target */
    }
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    .copyright {
        text-align: left;
    }
}

.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--black);
    color: var(--white);
    padding: 15px 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background 0.3s;
}
.floating-btn:hover { background: var(--caption-gray); color: var(--white); opacity: 1; }
.hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    margin-top: 40px;
}
