:root {
    --ink: #181d38;
    --teal: #06BBCC;
    --teal-deep: #049eac;
    --mist: #f4f7fa;
    --line: rgba(24, 29, 56, 0.1);
    --muted: #5c6578;
    --paper: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

/* ——— Nav ——— */
.site-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 1.15rem 0;
}

.site-nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.brand i {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 187, 204, 0.22);
    color: #7eecf7;
    border: 1px solid rgba(126, 236, 247, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: #fff;
}

.nav-links a.is-active {
    position: relative;
}

.nav-links a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.35rem;
    height: 2px;
    background: var(--teal);
    border-radius: 1px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.7rem 1.15rem;
    border-radius: 0.65rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    background: #f2f7f8;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.55rem;
    cursor: pointer;
}

/* ——— Page hero (inner pages) ——— */
.page-hero {
    position: relative;
    min-height: 18rem;
    overflow: hidden;
}

.page-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
}

.page-hero-overlay {
    position: relative;
    min-height: 18rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 6.5rem 0 3rem;
    background: linear-gradient(
        100deg,
        rgba(24, 29, 56, 0.94) 0%,
        rgba(24, 29, 56, 0.88) 40%,
        rgba(24, 29, 56, 0.6) 100%
    );
}

.page-hero-content {
    animation: riseIn 0.6s ease both;
}

.page-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7eecf7;
    margin-bottom: 0.65rem;
}

.page-title {
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 400;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 32rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover { color: #fff; }

.breadcrumb li + li::before {
    content: "/";
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb li[aria-current="page"] {
    color: rgba(255, 255, 255, 0.9);
}

/* ——— Buttons ——— */
.btn-primary,
.btn-ghost,
.btn-ink,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.95rem 1.35rem;
    border-radius: 0.7rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: var(--teal);
    color: #fff;
}

.btn-primary:hover:not(:disabled) {
    background: var(--teal-deep);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-ink {
    background: var(--ink);
    color: #fff;
}

.btn-ink:hover {
    background: #242a4a;
    transform: translateY(-1px);
}

.btn-outline {
    color: var(--ink);
    border: 1.5px solid var(--line);
    background: #fff;
}

.btn-outline:hover {
    border-color: var(--teal);
    background: rgba(6, 187, 204, 0.06);
}

/* ——— Sections ——— */
.section {
    padding: 5rem 0;
}

.section-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.85rem;
}

.section-lead {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 34rem;
    line-height: 1.65;
}

.section-head {
    margin-bottom: 2.5rem;
}

.section-head.center {
    text-align: center;
}

.section-head.center .section-lead {
    margin-inline: auto;
}

/* ——— Feature grid ——— */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.feature-card {
    padding: 1.75rem 1.35rem;
    border-top: 2px solid var(--teal);
    background: var(--mist);
    border-radius: 0 0 0.85rem 0.85rem;
    animation: riseIn 0.6s ease both;
}

.feature-card:nth-child(2) { animation-delay: 0.06s; }
.feature-card:nth-child(3) { animation-delay: 0.12s; }
.feature-card:nth-child(4) { animation-delay: 0.18s; }

.feature-card i {
    font-size: 1.5rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ——— Prose content ——— */
.prose {
    max-width: 48rem;
}

.prose h2 {
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    letter-spacing: -0.02em;
    margin: 2.25rem 0 0.85rem;
}

.prose h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 1.75rem 0 0.65rem;
    letter-spacing: -0.02em;
}

.prose p,
.prose li {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.prose p { margin-bottom: 1rem; }

.prose ul {
    margin: 0 0 1.25rem 1.25rem;
}

.prose li { margin-bottom: 0.55rem; }

.prose li strong { color: var(--ink); }

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.5rem;
    margin: 1.25rem 0 1.75rem;
    list-style: none;
}

.check-grid li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink);
}

.check-grid i {
    color: var(--teal);
    margin-top: 0.2rem;
}

/* ——— Contact ——— */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--mist);
    border-radius: 0.85rem;
    border: 1px solid var(--line);
}

.contact-item-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 187, 204, 0.12);
    color: var(--teal);
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: var(--muted);
    font-size: 0.92rem;
}

.contact-form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    padding: 2rem;
    box-shadow: 0 1rem 2.5rem rgba(24, 29, 56, 0.06);
}

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

.form-field {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--ink);
}

.form-control,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: 0.65rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(6, 187, 204, 0.15);
}

.form-textarea {
    min-height: 9rem;
    resize: vertical;
}

/* ——— CTA panel ——— */
.cta {
    padding: 0 0 5rem;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 3rem clamp(1.5rem, 4vw, 3rem);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(24, 29, 56, 0.92) 0%, rgba(24, 29, 56, 0.75) 50%, rgba(6, 187, 204, 0.55) 100%);
}

.cta-panel h2 {
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    letter-spacing: -0.02em;
    max-width: 20ch;
    margin-bottom: 0.65rem;
}

.cta-panel p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 32rem;
    margin-bottom: 1.35rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ——— Footer ——— */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.75);
    padding: 3.5rem 0 1.75rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.site-footer h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.site-footer p {
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 28rem;
}

.footer-links {
    display: grid;
    gap: 0.55rem;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
    font-size: 0.92rem;
}

.footer-links a:hover { color: #7eecf7; }

.footer-contact p {
    margin-bottom: 0.55rem;
}

.footer-contact i {
    color: var(--teal);
    width: 1.1rem;
    margin-right: 0.4rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: #7eecf7;
    text-decoration: none;
    font-weight: 600;
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .feature-grid,
    .contact-grid,
    .form-row,
    .check-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav.open .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        left: 1.25rem;
        right: 1.25rem;
        background: rgba(24, 29, 56, 0.96);
        padding: 1.25rem;
        border-radius: 0.85rem;
        gap: 1rem;
    }

    .site-nav.open .nav-cta {
        display: inline-flex;
        position: absolute;
        top: calc(100% + 11.5rem);
        left: 1.25rem;
    }

    .page-hero-overlay {
        padding-top: 5.5rem;
    }
}
