/* ── ClearAgency — Brand Styles ── */

:root {
    --navy: #1B2B4B;
    --white: #FFFFFF;
    --teal: #00B4A6;
    --teal-dark: #009688;
    --grey-50: #F8F9FA;
    --grey-100: #F0F2F4;
    --grey-300: #D1D5DB;
    --grey-600: #6B7280;
    --grey-900: #111827;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--grey-900);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: 2.5rem; margin-bottom: 1.25rem; }
h2 { font-size: 1.75rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; color: var(--grey-600); }

.lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--grey-900);
    margin-bottom: 1.5rem;
}

.teal { color: var(--teal); }
.text-center { text-align: center; }

/* ── Layout ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Nav ── */
.nav {
    background: var(--white);
    border-bottom: 1px solid var(--grey-100);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--grey-600);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--navy);
}

/* ── Hero ── */
.hero {
    background: var(--navy);
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 2.75rem;
    max-width: 800px;
    margin: 0 auto 1.25rem;
}

.hero .teal {
    color: var(--teal);
}

.hero-sub {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: var(--white);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ── Sections ── */
.section {
    padding: 4.5rem 0;
}

.section-light {
    background: var(--grey-50);
}

.section-navy {
    background: var(--navy);
}

.section-navy h2,
.section-navy p,
.section-navy .lead {
    color: var(--white);
}

.section-navy p {
    color: rgba(255, 255, 255, 0.75);
}

.section-navy .lead {
    color: var(--white);
}

/* ── Cards ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--grey-100);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.card-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ── Sample Cards ── */
.sample-card {
    background: var(--white);
    border: 1px solid var(--grey-300);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.sample-card-newsletter {
    border-left: 4px solid var(--teal);
}

.sample-label {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.sample-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--navy);
}

.sample-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--grey-900);
}

.sample-body em {
    color: var(--grey-600);
    font-size: 0.85rem;
}

/* ── Back Link ── */
.back-link {
    display: inline-block;
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.back-link:hover {
    color: var(--teal-dark);
}

/* ── Form ── */
.form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--grey-900);
    background: var(--white);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 180, 166, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--grey-300);
}

/* ── Footer ── */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.85rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }

    .hero { padding: 3.5rem 0; }
    .hero h1 { font-size: 1.85rem; }
    .hero-sub { font-size: 1rem; }

    .section { padding: 3rem 0; }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .nav-inner {
        flex-direction: column;
        gap: 0.75rem;
    }

    .container,
    .container-narrow {
        padding: 0 1rem;
    }
}
