/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7C3AED;
    --secondary-color: #059669;
    --accent-color: #0891B2;
    --terracotta: #DC6B4A;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --background: #FAF5FF;
    --white: #FFFFFF;
    --gradient-purple-light: #EDE9FE;
    --gradient-teal-light: #D1FAE5;
    --gradient-cyan-light: #CFFAFE;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: white;
}

/* Header */
header {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    background: white;
    border-bottom: 6px solid var(--primary-color);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.logo svg {
    width: 70px;
    height: 70px;
}

.logo h1 {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Main content */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

section {
    margin: 3rem 0;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 2rem;
    border: 4px solid var(--terracotta);
}

.hero h2 {
    font-size: 2.25rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 500;
}

/* About section */
.about ul {
    list-style: none;
    padding-left: 0;
}

.about li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.about li:before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.value-card {
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    transition: transform 0.2s, border-color 0.2s;
    border: 3px solid var(--primary-color);
}

.value-card:hover {
    transform: translateY(-2px);
    border-color: var(--terracotta);
}

.value-card h4 {
    color: var(--primary-color);
    font-weight: 800;
}

.value-card p {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
}

/* Practices section with icons */
.practices-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.practice-card {
    background: white;
    padding: 2rem;
    border-radius: 4px;
    transition: transform 0.3s, border-color 0.3s;
    text-align: center;
    border: 3px solid var(--accent-color);
}

.practice-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary-color);
}

.practice-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.practice-icon svg {
    width: 100%;
    height: 100%;
}

.practice-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
    font-weight: 800;
}

.practice-card p {
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 500;
}

/* CTA section */
.cta {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 4px;
    border: 5px solid var(--secondary-color);
}

.cta h3 {
    color: var(--secondary-color);
}

.cta p {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    margin: 1rem 0;
    transition: background-color 0.2s, transform 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.button:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

.qr-code {
    margin: 2rem auto;
    width: 200px;
    height: 200px;
}

.qr-code img {
    width: 100%;
    height: 100%;
    display: block;
}

.email-text {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-top: 0.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    border-top: 4px solid var(--primary-color);
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 599px) {
    .logo h1 {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .location {
        font-size: 0.9rem;
    }

    .hero {
        padding: 1.5rem;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .cta {
        padding: 2rem 1.5rem;
    }

    .cta p {
        font-size: 1.05rem;
    }

    .email-text {
        font-size: 1.1rem;
    }
}

/* Tablet and up */
@media (min-width: 600px) {
    .logo svg {
        width: 80px;
        height: 80px;
    }

    .logo h1 {
        font-size: 3.5rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    main {
        padding: 3rem 2rem;
    }
}

/* Desktop */
@media (min-width: 900px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .practices-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    section {
        margin: 4rem 0;
    }

    .hero {
        padding: 3rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }
}

/* Location line in header */
.location {
    font-size: 1rem;
    color: var(--terracotta);
    margin-top: 0.5rem;
    font-weight: 700;
}

/* Practice note in footer */
.practice-note {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
    font-style: italic;
    font-weight: 600;
}

/* Print styles for flyers and co-conspirator materials */
@media print {
    @page {
        margin: 0;
        size: letter portrait;
    }

    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    body {
        background: white;
        color: var(--text-dark);
        margin: 0.3in;
        padding: 0;
    }

    header {
        background: white;
        border-bottom: 5px solid var(--primary-color);
        padding: 0 0 0.75rem 0;
        margin-bottom: 1rem;
        page-break-after: avoid;
        text-align: center;
    }

    .logo {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .logo svg {
        width: 60px;
        height: 60px;
    }

    .logo svg circle:nth-child(1) {
        fill: var(--primary-color) !important;
        opacity: 1 !important;
    }

    .logo svg circle:nth-child(2) {
        fill: var(--secondary-color) !important;
        opacity: 1 !important;
    }

    .logo svg circle:nth-child(3) {
        fill: var(--accent-color) !important;
        opacity: 1 !important;
    }

    .logo h1 {
        font-size: 2.5rem;
        color: var(--primary-color);
        font-weight: 800;
    }

    .tagline {
        font-size: 1rem;
        font-weight: 700;
        color: var(--secondary-color);
        margin-top: 0.35rem;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .location {
        font-size: 0.85rem;
        color: var(--terracotta);
        margin-top: 0.35rem;
        font-weight: 700;
    }

    main {
        padding: 0;
    }

    section {
        margin: 0.75rem 0;
        page-break-inside: avoid;
    }

    .hero {
        text-align: center;
        padding: 0.9rem;
        background: white;
        border: 4px solid var(--terracotta);
        margin-bottom: 1rem;
    }

    .hero h2 {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
        color: var(--primary-color);
        font-weight: 800;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.35;
        color: var(--text-dark);
        font-weight: 500;
    }

    .practices h3 {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 0.5rem;
        color: var(--primary-color);
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .practices > p {
        text-align: center;
        margin-bottom: 0.85rem;
        font-size: 0.85rem;
        line-height: 1.3;
        font-weight: 500;
    }

    .practices-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-top: 0.75rem;
    }

    .practice-card {
        background: white;
        padding: 0.75rem;
        border: 3px solid var(--accent-color);
        border-radius: 4px;
        text-align: center;
        page-break-inside: avoid;
    }

    .practice-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 0.4rem;
    }

    .practice-icon svg {
        width: 100%;
        height: 100%;
    }

    .practice-icon svg path,
    .practice-icon svg circle,
    .practice-icon svg line {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .practice-card h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
        color: var(--accent-color);
        font-weight: 800;
    }

    .practice-card p {
        font-size: 0.75rem;
        line-height: 1.25;
        color: var(--text-dark);
        font-weight: 500;
    }

    .values {
        display: none;
    }

    .cta {
        background: white;
        page-break-inside: avoid;
        padding: 0.75rem;
        text-align: center;
        border: 4px solid var(--secondary-color);
        border-radius: 4px;
        margin: 0.75rem 0;
    }

    .cta h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
        color: var(--secondary-color);
    }

    .cta > p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        color: var(--text-dark);
    }

    .button {
        display: none;
    }

    .qr-code {
        width: 80px;
        height: 80px;
        margin: 0.3rem auto;
    }

    .qr-code img {
        width: 100%;
        height: 100%;
    }

    .email-text {
        font-size: 1rem;
        font-weight: 800;
        color: var(--secondary-color);
        margin-top: 0.3rem;
        letter-spacing: 1px;
    }

    footer {
        border-top: 4px solid var(--primary-color);
        padding: 0.75rem 0 0 0;
        background: white;
        text-align: center;
        margin-top: 1rem;
    }

    footer p {
        font-size: 0.75rem;
        margin: 0.2rem 0;
        color: var(--text-dark);
        line-height: 1.3;
        font-weight: 600;
    }

    .practice-note {
        font-size: 0.7rem;
        font-style: italic;
        color: var(--secondary-color);
        line-height: 1.3;
        margin-top: 0.4rem;
        font-weight: 600;
    }
}
