:root {
    --bg-color: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --paper-elevated: #fbf6e9;
    --ink-muted: #b8ab97;
    --brick-color: #cf6a55;
    --forest-color: #86ad92;
    --gold-color: #deaf60;
    --night-panel: #111111;
    --night-panel-2: #181818;
    --night-border: #2a2621;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-literary: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --font-serif: "Source Serif 4", Georgia, serif;
    --container-width: 1200px;
    --section-spacing: 160px;
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 100px;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }
}

/* Header */
.header {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    display: none;
    height: 32px;
    width: auto;
}

.logo-wordmark {
    display: block;
    height: 24px;
    width: auto;
}

@media (max-width: 600px) {
}

.legal-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 4px;
}

/* Hero Section */
.hero {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
    max-width: 1000px;
}

.eyebrow {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.headline {
    font-size: clamp(2.5rem, 8vw, 4.8rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

.description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 48px;
}

.cta-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #f0f0f0;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 4px;
}

/* Product Highlight */
.product-highlight {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
    background:
        radial-gradient(circle at top right, rgba(207, 106, 85, 0.02), transparent 28%),
        radial-gradient(circle at bottom left, rgba(134, 173, 146, 0.01), transparent 30%),
        linear-gradient(180deg, var(--night-panel), var(--night-panel-2));
    border-top: 1px solid rgba(42, 38, 33, 0.5);
    border-bottom: 1px solid rgba(42, 38, 33, 0.5);
    color: var(--paper-elevated);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.product-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 600px) {
    .product-container {
        padding: 0 16px;
    }
}

.product-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 900px) {
    .product-split {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 80px;
    }
}

.product-info {
    max-width: 600px;
}

.product-brandmark {
    display: block;
    width: min(260px, 60vw);
    height: auto;
    margin-bottom: 28px;
    opacity: 0.9;
}

.product-name {
    font-family: var(--font-literary);
    font-size: clamp(2.6rem, 5.8vw, 4.4rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.98;
    margin-bottom: 20px;
}

.product-description {
    font-size: 1.125rem;
    color: var(--ink-muted);
    margin-bottom: 28px;
    max-width: 500px;
}

.product-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.pillar-chip {
    border: 1px solid rgba(251, 246, 233, 0.1);
    background: rgba(251, 246, 233, 0.03);
    border-radius: 999px;
    color: var(--paper-elevated);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 14px;
}

.product-highlight .btn-primary {
    background-color: var(--paper-elevated);
    color: #111111;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
}

.product-highlight .btn-primary:hover {
    background-color: #ffffff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-showcase {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.editorial-block {
    max-width: 480px;
}

.editorial-text {
    font-family: var(--font-literary);
    font-size: clamp(2.5rem, 4.2vw, 4.2rem);
    line-height: 1.05;
    color: var(--paper-elevated);
    margin-bottom: 24px;
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-align: center;
}

.editorial-subtext {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--ink-muted);
    max-width: 38ch;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .product-showcase {
        justify-content: flex-start;
        margin-top: 32px;
    }
}

/* Legal page */
.legal-page {
    max-width: 900px;
    padding-top: 100px;
    padding-bottom: 140px;
}

.legal-title {
    font-size: clamp(2.5rem, 7vw, 4.6rem);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}

.legal-updated {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 64px;
}

.legal-content {
    max-width: 760px;
    color: var(--text-secondary);
}

.legal-content section + section {
    margin-top: 44px;
}

.legal-content h2 {
    color: var(--text-primary);
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.legal-content p,
.legal-content li {
    font-size: 1rem;
    line-height: 1.8;
}

.legal-content p + p {
    margin-top: 14px;
}

.legal-content ul {
    padding-left: 22px;
    margin-top: 12px;
}

.legal-content a {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 4px;
    transition: text-decoration-color 0.2s ease;
}

.legal-content a:hover {
    text-decoration-color: var(--text-primary);
}

.legal-content a:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 4px;
}

/* Footer */
.footer {
    padding-top: 60px;
    padding-bottom: 60px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px 24px;
}

.footer-note {
    opacity: 0.6;
}

.footer-link {
    color: var(--text-secondary);
    opacity: 0.75;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-link:hover {
    color: var(--text-primary);
    opacity: 1;
}

.footer-link:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 4px;
}

/* Orbital Motif Background */
.background-orbital {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    transform: translate(var(--mouse-x, 0), var(--mouse-y, 0));
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.orbit-1 {
    width: 70vw;
    height: 70vw;
    top: -10vw;
    right: -10vw;
    animation: rotate 80s linear infinite;
}

.orbit-2 {
    width: 90vw;
    height: 90vw;
    bottom: -20vw;
    left: -20vw;
    animation: rotate 120s linear infinite reverse;
}

.orbit-3 {
    width: 40vw;
    height: 40vw;
    top: 30%;
    left: -10%;
    animation: rotate 60s linear infinite;
    opacity: 0.4;
}

.orbit::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

@keyframes rotate {
    from { transform: translate(var(--mouse-x, 0), var(--mouse-y, 0)) rotate(0deg); }
    to { transform: translate(var(--mouse-x, 0), var(--mouse-y, 0)) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .orbit {
        animation: none;
        transition: none;
    }
    .fade-in {
        transition: opacity 0.3s ease !important;
        transform: none !important;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 600px) {
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        text-align: center;
        width: 100%;
    }
    
    .footer-content,
    .footer-meta {
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .legal-nav {
        gap: 14px;
    }

    .legal-page {
        padding-top: 64px;
        padding-bottom: 100px;
    }

    .legal-updated {
        margin-bottom: 48px;
    }

    .product-name {
        font-size: 3.2rem;
    }

    .footer {
        padding-left: 24px;
        padding-right: 24px;
    }
}
