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

:root {
    --color-warm-paper: #FDF8F3;
    --color-charcoal: #4A3F35;
    --color-terracotta: #E2725B;
    --color-sand: #D9C5B2;
    --color-ink: #2D241E;
    --color-paper-white: #FFFFFF;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-soft: 0 4px 20px rgba(74, 63, 53, 0.08);
    --shadow-lift: 0 10px 30px rgba(74, 63, 53, 0.12);
}

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

body {
    background-color: var(--color-warm-paper);
    color: var(--color-charcoal);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Paper Texture Grain Overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
    z-index: 100;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 4rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-terracotta);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.tagline {
    font-family: var(--font-heading);
    color: var(--color-sand);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-ink);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3rem; margin-bottom: 2rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p { margin-bottom: 1.2rem; }

section {
    margin-bottom: 4rem;
}

/* Tactile Components */
.paper-card {
    background: var(--color-paper-white);
    padding: 3rem;
    border-radius: 2px;
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid rgba(217, 197, 178, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paper-card::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 100%;
    height: 100%;
    background: var(--color-paper-white);
    z-index: -1;
    border: 1px solid rgba(217, 197, 178, 0.2);
    box-shadow: 2px 2px 5px rgba(0,0,0,0.02);
}

.paper-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-terracotta);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(226, 114, 91, 0.3);
}

.btn-primary:hover {
    background-color: #d1624c;
    transform: scale(1.05);
}

/* Legal Page Styling */
.legal-content {
    background: white;
    padding: 4rem;
    box-shadow: var(--shadow-soft);
    line-height: 1.8;
}

.legal-content h1 { font-size: 2.5rem; }
.legal-content h2 { margin-top: 3rem; color: var(--color-terracotta); }
.legal-content ul { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; }

footer {
    margin-top: auto;
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(217, 197, 178, 0.2);
    font-size: 0.9rem;
    color: var(--color-sand);
}

footer nav {
    margin-bottom: 1.5rem;
}

footer nav a {
    margin: 0 1rem;
    color: var(--color-charcoal);
    font-weight: 500;
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    overflow: visible;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-charcoal);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-visual svg {
    width: 100%;
    height: auto;
    overflow: visible;
    transform: rotate(2deg);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.features .paper-card {
    padding: 2rem;
}

.features h3 {
    color: var(--color-terracotta);
    font-size: 1.2rem;
}

@media (max-width: 800px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-visual {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
    .features {
        grid-template-columns: 1fr;
    }
}
