:root {
    --bg: #f3f7fc;
    --surface: #ffffff;
    --surface-alt: #e9f0f8;
    --text: #1c2938;
    --muted: #536377;
    --line: #d1ddea;
    --primary: #16324f;
    --primary-hover: #0f2338;
    --accent: #2f5578;
    --radius: 14px;
    --shadow: 0 14px 34px rgba(14, 38, 61, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: radial-gradient(circle at top right, #f8fbff, #f3f7fc 45%);
    color: var(--text);
    line-height: 1.65;
}

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

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.narrow {
    width: min(860px, 92%);
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(8px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
}

.brand {
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.3rem;
}

.nav-link {
    display: inline-block;
    padding: 0.42rem 0.7rem;
    border-radius: 9px;
    color: var(--muted);
    transition: all 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
    background: #e6edf6;
    color: var(--primary);
    text-decoration: none;
}

.header-cta {
    margin-top: 0;
    font-size: 0.92rem;
}

.hero {
    background: linear-gradient(180deg, #ffffff 0%, #edf4fb 100%);
    border-bottom: 1px solid var(--line);
    padding: 3.4rem 0;
}

.human-section {
    background-image: url("/assets/images/brand-wave.svg");
    background-size: cover;
    background-position: center;
}

.hero-wrap,
.split-panel {
    display: grid;
    gap: 1.6rem;
    align-items: center;
    grid-template-columns: 1.1fr 1fr;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.hero-image,
.section-image {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--surface);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0 0 0.6rem;
}

h1,
h2,
h3 {
    line-height: 1.3;
    margin-top: 0;
}

h1 {
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    margin-bottom: 0.9rem;
}

h2 {
    margin-bottom: 0.6rem;
}

.lead {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 760px;
}

.section {
    padding: 3rem 0;
}

.section.alt {
    background: var(--surface-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.grid-three,
.grid-two,
.team-grid,
.logo-grid,
.footer-grid,
.stats-grid {
    display: grid;
    gap: 1rem;
}

.grid-three {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid-two {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.logo-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    align-items: center;
}

.logo-grid img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 0.3rem;
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin-top: 1rem;
}

.card,
.post,
.stat-block,
.cta-panel,
.timeline-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow);
}

.icon-card {
    padding-top: 1rem;
}

.icon-mark {
    width: 44px;
    height: 44px;
    margin-bottom: 0.6rem;
}

.stat-number {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary);
}

.post {
    margin-bottom: 1rem;
}

.post-meta,
.case-meta,
.quote-meta,
.team-role {
    color: var(--muted);
    font-size: 0.93rem;
}

.quote-card p:first-child {
    font-size: 1.02rem;
}

.timeline {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.team-card img {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    margin-bottom: 0.8rem;
}

.contact-details {
    margin: 1rem 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem 1rem;
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow);
}

.contact-form label {
    display: block;
    margin: 0.7rem 0 0.3rem;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #c3cfdd;
    border-radius: 8px;
    padding: 0.65rem;
    font: inherit;
    background: #fbfdff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid #c3d8ef;
    border-color: #89a8c8;
}

.checkbox-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.checkbox-line input {
    width: 18px;
    height: 18px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.8rem 0 1rem;
}

.trust-badges span {
    background: #e8f1fb;
    border: 1px solid #c7d8ea;
    color: #254766;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.86rem;
}

.next-steps {
    margin-top: 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fbff;
    padding: 0.9rem 1rem;
}

.next-steps.compact {
    margin-top: 0.7rem;
}

.next-steps ol {
    margin: 0.4rem 0 0;
    padding-left: 1.15rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.photo-grid figure {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.photo-grid img {
    width: 100%;
    display: block;
}

.photo-grid figcaption {
    padding: 0.65rem 0.8rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.faq-list details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.6rem;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
}

.form-status {
    background: #fff8e5;
    border: 1px solid #e4cf91;
    color: #69511b;
    border-radius: 8px;
    padding: 0.7rem 0.8rem;
}

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

.btn {
    display: inline-block;
    margin-top: 0.8rem;
    background: var(--primary);
    color: #ffffff;
    padding: 0.62rem 1.05rem;
    border-radius: 9px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-secondary {
    background: var(--accent);
}

.btn-secondary:hover {
    background: #274a67;
}

.btn-ghost {
    background: #e9f0f8;
    color: var(--primary);
}

.btn-ghost:hover {
    background: #dce8f4;
}

.centered-card {
    text-align: center;
}

.quick-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #ffffff;
    margin-top: 2rem;
    padding-top: 2rem;
}

.footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.policy-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.policy-links li {
    margin-bottom: 0.35rem;
}

.footer-bottom {
    text-align: center;
    margin: 1.2rem 0 0;
    padding: 1rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.legal ul {
    padding-left: 1.2rem;
}

@media (max-width: 960px) {
    .header-inner {
        grid-template-columns: 1fr;
    }

    .hero-wrap,
    .split-panel {
        grid-template-columns: 1fr;
    }

    .header-cta {
        justify-self: start;
    }
}
