@import url('fonts.css');

/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

/* Main Styles */
:root {
    --color-text: #2f2f2f;
    --color-background: #E2DED8;
    --color-accent: #c02300;
    --font-primary: "Coppy", serif;
    --spacing-unit: 1rem;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-background);
    background-image: url('../img/papertile.jpg');
    background-size: 400px 400px;
    background-repeat: repeat;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    min-height: 100vh;
    /* justify-content: space-between; */
    padding: 4rem 6rem;
    display: flex;
    flex-direction: column; 
    justify-content: space-between;
}

.site-header {
    flex-shrink: 0;
    margin-bottom: 12rem;

    h1 {
        font-size: 1.8rem;
        line-height: 1.1;
        letter-spacing: -0.01em;
    }
}

.brand-name {
    font-weight: 700;
}

.brand-suffix {
    font-weight: 200;
}

.brand-llc {
    text-transform: uppercase;
    font-size: 0.7em;
    letter-spacing: 0.05em;
    font-weight: 200;
}

.tagline {
    font-size: 3rem;
    font-weight: 200;
    line-height: 1.4;
    max-width: 65vw;

    strong {
        font-weight: 700;
    }

    em {
        font-style: italic;
    }
}

.copy-container {
    max-width: 60vw;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
/* Navigation */
.nav {
    position: fixed;
    top: 4rem;
    right: 6rem;
    z-index: 100;
}

.nav-link {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;

    &:hover {
        color: var(--color-accent);
    }
}

/* Pricing Section */
.pricing-section {
    min-height: 100vh;
    padding: 4rem 6rem;
}

.pricing-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

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

.pricing-card {
    padding: 2rem;
    border: 1px solid rgba(89, 89, 89, 0.2);
}

.product-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pricing-options {
    display: flex;
    gap: 2rem;
}

.price-option {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
}

.period {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(89, 89, 89, 0.7);
}

.price-tbd {
    font-size: 2rem;
    font-weight: 400;
    color: rgba(89, 89, 89, 0.5);
}

/* Footer */
.footer {
    padding: 2rem 6rem;
    text-align: center;
    background-color: var(--color-background);
}

.footer-link {
    font-size: 0.9rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;

    &:hover {
        color: var(--color-accent);
    }
}

/* Legal Pages */
.legal-container {
    max-width: 50rem;
    padding: 4rem 2rem;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 3rem;

    h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }
}

.legal-section {
    margin-bottom: 4rem;

    h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 1rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(89, 89, 89, 0.2);
    }

    &:first-of-type h2 {
        border-top: none;
        padding-top: 0;
    }

    h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    p {
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    ul {
        margin-left: 2rem;
        margin-bottom: 1rem;
    }

    li {
        list-style: disc;
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }

    strong {
        font-weight: 600;
    }
}

.legal-updated {
    font-size: 0.9rem;
    color: rgba(89, 89, 89, 0.6);
    margin-bottom: 2rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 2rem;
    }

    .site-header {
        margin-bottom: 6rem;

        h1 {
            font-size: 2rem;
        }
    }

    .tagline {
        font-size: 2.8rem;
    }

    .nav {
        top: 2rem;
        right: 2rem;
    }

    .pricing-section {
        padding: 3rem 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer {
        padding: 2rem;
    }

    .legal-container {
        padding: 3rem 2rem;
    }

    .legal-header h1 {
        font-size: 2.25rem;
    }

    .legal-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1.5rem;
    }

    .site-header {
        margin-bottom: 4rem;

        h1 {
            font-size: 1.5rem;
        }
    }

    .tagline {
        font-size: 1.25rem;
    }

    .nav {
        top: 1.5rem;
        right: 1.5rem;
    }

    .pricing-section {
        padding: 2rem 1.5rem;
    }

    .pricing-title {
        font-size: 2rem;
    }

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