:root {
    --black: #212529;
    --white: #fafafa;
    --grey-1: #f4f4f2;
    --grey-2: #e8e8e4;
    --grey-3: #707984;
    --accent: #c4006f;
    --accent-h: #9b0058;
    --radius: 4px;
    --font-display: 'Arial', 'Roboto', sans-serif;
    --font-body: 'Arial', 'Roboto', sans-serif;
    --max-w: 1100px;
    --nav-h: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--black);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-h);
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* PAGE CONTENT */
.page-content {
    padding: 4rem 0 5rem;
    min-height: 60vh;
}

.page-content h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.page-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 2.25rem 0 .9rem;
}

.page-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.75rem 0 .6rem;
}

.page-content h4,
.page-content h5,
.page-content h6 {
    font-weight: 700;
    margin: 1.25rem 0 .5rem;
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
    margin: 0 0 1rem 1.5rem;
    padding-left: 0;
}

.page-content li {
    margin-bottom: .35rem;
}

.page-content img {
    height: auto;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.page-content th,
.page-content td {
    border: 1px solid var(--grey-2);
    padding: .6rem .8rem;
    text-align: left;
}

.page-content th {
    background: var(--grey-1);
    font-weight: 700;
}

.page-content blockquote {
    border-left: 3px solid var(--accent);
    margin: 1.5rem 0;
    padding-left: 1.25rem;
    color: var(--grey-3);
}

.page-content hr {
    border: none;
    border-top: 1px solid var(--grey-2);
    margin: 2rem 0;
}

/* Selectable copy box */
.copy-box {
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    user-select: text;
}

.copy-box p {
    margin-bottom: 0;
}

/* Utility classes kept from the original stylesheet */
.no-underline { text-decoration: none; }
.bold { font-weight: 700; }
.big { font-size: 120%; }
.small { font-size: 80%; }
.xsmall { font-size: 75%; }
.tiny { font-size: 50%; }
.hidden { display: none; }

/* NAV */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--grey-2);
}

.site-nav .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    display: block;
    height: 56px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding-left: 0;
    margin: 0 0 0 auto;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--grey-3);
    transition: color .15s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--black);
    text-decoration: none;
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 700;
    background: #ffffff;
    color: var(--black) !important;
    border: 1px solid lightgray;
    padding: .45rem 1.1rem;
    border-radius: var(--radius);
    transition: background .15s, color .15s, border-color .15s;
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--white) !important;
    border-color: var(--accent);
    text-decoration: none !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
    margin: 4px 0;
    transition: transform .2s, opacity .2s;
}

/* HERO */
.hero {
    padding: 7rem 0 6rem;
    border-bottom: 1px solid var(--grey-2);
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.125rem;
    color: var(--grey-3);
    max-width: 520px;
}

/* PRODUCTS */
.product-section {
    padding: 5rem 0;
}

.product-section--alt {
    background: var(--grey-1);
}

.product-section + .product-section {
    border-top: 1px solid var(--grey-2);
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75rem;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-lead {
    font-size: 1.0625rem;
    color: var(--grey-3);
    max-width: 540px;
    margin-bottom: 2.5rem;
}

.button-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 0;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: .7rem 1.5rem;
    border-radius: var(--radius);
    transition: background .15s, box-shadow .15s;
    text-decoration: none !important;
}

.btn-primary {
    background: var(--accent);
    color: var(--white) !important;
}

.btn-primary:hover {
    background: var(--accent-h);
    box-shadow: 0 4px 16px rgba(196, 0, 111, 0.25);
}

/* FOOTER */
.site-footer {
    background: #343a40;
    padding: 3rem 0 2rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.footer-brand strong {
    display: block;
    font-size: .9rem;
    color: var(--white);
    margin-bottom: .4rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding-left: 0;
    margin: 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}

.legal-info {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

/* DIVIDER */
hr.section-divider {
    border: none;
    border-top: 1px solid var(--grey-2);
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .site-nav .container {
        gap: 1rem;
    }

    .nav-logo img {
        height: 48px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: .5rem;
        margin-left: 0;
    }

    .nav-links.open {
        display: flex;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--grey-1);
        border-bottom: 1px solid var(--grey-2);
        padding: 1rem 1.5rem;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-cta {
        margin-left: 0;
    }

    .hero {
        padding: 4rem 0 3.5rem;
    }

    .footer-top {
        flex-direction: column;
    }
}
