:root {
    --ink: #22273a;
    --muted: #5c6377;
    --paper: #ffffff;
    --panel-blue: #eef4ff;
    --panel-yellow: #fff8e8;
    --accent: #3f5eef;
    --accent-dark: #2f47c9;
    --border: #e4e7f2;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
}

section {
    padding: 4rem 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

/* Hero */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    padding-top: 3.5rem;
}

.hero-photo {
    position: relative;
    flex: 1 1 260px;
    max-width: 320px;
}

.hero-photo-blob {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, #7c9bff 100%);
    border-radius: 32% 68% 62% 38% / 41% 35% 65% 59%;
    z-index: 0;
    opacity: 0.18;
}

.hero-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--border);
    display: block;
}

.hero-text {
    flex: 2 1 380px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin: 0 0 0.75rem;
}

.wave {
    display: inline-block;
    animation: wave 2.2s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 60%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
}

.hero-lede {
    font-size: 1.3rem;
    color: var(--ink);
    margin: 0 0 1rem;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.85rem 1.9rem;
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.12s ease-in-out, background 0.15s ease-in-out;
}

.cta-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px) scale(1.02);
}

/* About */
.about {
    background: var(--panel-blue);
    border-radius: 20px;
}

.about h2,
.lead-form h2 {
    font-size: 1.75rem;
    margin-top: 0;
}

.about p {
    color: var(--ink);
}

/* Lead form */
.lead-form {
    background: var(--panel-yellow);
    border-radius: 20px;
}

.form-intro {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.lead-form form p {
    margin: 0 0 1rem;
}

.lead-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    max-width: 480px;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.lead-form ul.errorlist {
    color: #c0392b;
    list-style: none;
    padding: 0;
    margin: 0.2rem 0;
    font-size: 0.9rem;
}

.success-banner {
    background: #e4f8ec;
    border: 1px solid #b9ecc9;
    color: #1c6b3d;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
}

/* Footer */
.site-footer {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    padding: 2rem 1.5rem 3rem;
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 2.1rem;
    }
}
