:root {
    --bg: #ffffff;
    --bg-alt: #f6f7f9;
    --text: #1a1d23;
    --text-muted: #5b6472;
    --border: #e5e7eb;
    --accent: #2757c4;
    --accent-dark: #1e46a3;
    --radius: 8px;
    --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

h1, h2, h3 { line-height: 1.25; font-weight: 700; margin: 0 0 16px; }
p { margin: 0 0 16px; color: var(--text-muted); }

/* Header */
.site-header {
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(6px);
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 72px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
}

.site-nav a.active,
.site-nav a:hover { color: var(--accent); }

.site-nav a.nav-cta {
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    padding: 8px 18px;
    border-radius: var(--radius);
}
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta.active {
    background: var(--accent);
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* Sections */
.hero {
    padding: 96px 0 72px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-visual {
    position: relative;
    height: 380px;
    overflow: hidden;
}
.hero-visual canvas {
    display: block;
    width: 100%;
    height: 100%;
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
}
.hero .eyebrow {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 12px;
}
.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.hero .intro {
    max-width: 640px;
    font-size: 1.05rem;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

.section {
    padding: 64px 0;
}
.section-alt { background: var(--bg-alt); }
.section h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}
.section .lede {
    max-width: 640px;
    margin-bottom: 32px;
}

.plain-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 480px;
}
.plain-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
}
.plain-list li:last-child { border-bottom: none; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.card p { margin-bottom: 0; font-size: 0.95rem; }

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
}

.cta-band {
    text-align: center;
    padding: 64px 0;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { margin-bottom: 24px; }

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 800px) {
    .contact-layout { grid-template-columns: 1fr; }
}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    background: var(--bg);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.honeypot-field { position: absolute; left: -9999px; top: -9999px; }

.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 0.95rem;
}
.alert-success { background: #e7f6ec; color: #1e7a37; border: 1px solid #bfe8cb; }
.alert-error { background: #fdeceb; color: #b3261e; border: 1px solid #f5c2bd; }

.contact-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.contact-info .contact-item { margin-bottom: 24px; }
.contact-info .contact-item p { margin-bottom: 4px; }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    margin-top: 40px;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-inner p {
    margin: 0;
    font-size: 0.9rem;
}
.footer-links {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 24px 24px;
        gap: 16px;
        display: none;
    }
    .site-nav.open { display: flex; }
    .site-nav a.nav-cta { width: 100%; text-align: center; }
}
