:root {
    --accent: #00A99D;
    --accent-dark: #007b73;
    --ink: #17191c;
    --muted: #5a6168;
    --line: #e7eceb;
    --soft: #f5f8f8;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
    --radius: 22px;
    --wrap: min(1120px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Verdana Pro Cond", "Verdana Pro", Verdana, Geneva, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration-color: color-mix(in srgb, var(--accent), transparent 45%);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
    color: var(--accent-dark);
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.wrap {
    width: var(--wrap);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 100;
    transform: translateY(-160%);
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--white);
    background: var(--ink);
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(231, 236, 235, 0.9);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: min(300px, 62vw);
    text-decoration: none;
}

.brand img {
    width: 100%;
}

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

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
    color: var(--ink);
    background: var(--soft);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 14px;
    color: var(--ink);
    background: var(--white);
}

.section {
    padding: 94px 0;
}

.section-muted {
    background: linear-gradient(180deg, var(--soft), #ffffff);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    padding: 116px 0 94px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto -12vw -34vw auto;
    width: 58vw;
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(0, 169, 157, 0.16), rgba(0, 169, 157, 0));
    pointer-events: none;
}

.hero-grid,
.split-grid,
.contact-grid,
.cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    gap: clamp(32px, 6vw, 84px);
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    line-height: 1.13;
}

h1 {
    max-width: 760px;
    font-size: clamp(2.1rem, 4.6vw, 3.8rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

h2 {
    font-size: clamp(2.1rem, 4.6vw, 3.8rem);
    font-weight: 500;
    letter-spacing: -0.055em;
}

h3 {
    font-size: 1.22rem;
    letter-spacing: -0.02em;
}

.lead {
    max-width: 680px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    color: var(--white);
    background: var(--accent);
    box-shadow: 0 14px 30px rgba(0, 169, 157, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
    color: var(--white);
    background: var(--accent-dark);
}

.button-secondary {
    color: var(--ink);
    background: var(--white);
    border-color: var(--line);
}

.button-light {
    color: var(--ink);
    background: var(--white);
}

.hero-card {
    position: relative;
    z-index: 1;
    padding: clamp(28px, 5vw, 44px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.hero-card .mark {
    width: 152px;
    margin-bottom: 30px;
}

.hero-card dl {
    display: grid;
    gap: 18px;
    margin: 0;
}

.hero-card dl > div {
    display: grid;
    gap: 4px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.hero-card dl > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.hero-card dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-card dd {
    margin: 0;
    font-weight: 800;
}

.section-heading {
    max-width: 840px;
    margin-bottom: 44px;
}

.section-heading p:last-child {
    max-width: 760px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 16px 44px rgba(23, 25, 28, 0.045);
}

.card h3 {
    margin-bottom: 14px;
}

.card p,
.split-grid p,
.legal-text p,
.contact-grid p {
    color: var(--muted);
}

.principles {
    display: grid;
    gap: 16px;
}

.principle {
    padding: 24px;
    border-left: 4px solid var(--accent);
    border-radius: 18px;
    background: var(--soft);
}

.principle span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--accent-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.principle p {
    margin-bottom: 0;
}

.cta-strip {
    color: var(--white);
    background: var(--ink);
}

.cta-strip h2,
.cta-strip p,
.cta-strip .eyebrow {
    color: var(--white);
}

.cta-strip p:not(.eyebrow) {
    opacity: 0.78;
}

.cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
}

.contact-grid {
    align-items: start;
}

.contact-details {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    font-style: normal;
    background: var(--soft);
}

.contact-details strong {
    color: var(--ink);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.field {
    margin: 0;
}

.field-full,
.form-message {
    grid-column: 1 / -1;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px 14px;
    color: var(--ink);
    background: #ffffff;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 169, 157, 0.12);
}

.checkbox-field label {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: var(--muted);
    font-weight: 500;
}

.checkbox-copy {
    display: block;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

.form-note {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.form-message {
    border-radius: 16px;
    padding: 14px 16px;
    font-weight: 800;
}

.form-message.is-success {
    color: #0b514b;
    background: rgba(0, 169, 157, 0.13);
}

.form-message.is-error {
    color: #7a1a1a;
    background: #fff0f0;
}

.legal-text {
    max-width: 880px;
}

.legal-text h3 {
    margin-top: 32px;
    margin-bottom: 8px;
}

.legal-text p {
    margin: 0 0 14px;
}

.site-footer {
    padding: 38px 0;
    border-top: 1px solid var(--line);
    background: var(--white);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 0.94rem;
}

.footer-inner img {
    width: 52px;
    flex: 0 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.link-button {
    border: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--accent), transparent 45%);
    text-underline-offset: 0.18em;
}

.cookie-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    width: min(760px, calc(100% - 40px));
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner h2 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.cookie-banner p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

@media (max-width: 920px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        left: 20px;
        right: 20px;
        top: 92px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    body.nav-open .site-nav {
        display: flex;
    }

    .site-nav a {
        justify-content: center;
    }

    .hero-grid,
    .split-grid,
    .contact-grid,
    .cta-inner {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-inner {
        justify-items: start;
    }

    .cookie-banner {
        grid-template-columns: 1fr;
    }

    .cookie-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    :root {
        --wrap: min(100% - 28px, 1120px);
    }

    .header-inner {
        min-height: 72px;
    }

    .brand {
        width: min(232px, 62vw);
    }

    .site-nav {
        top: 82px;
    }

    .section,
    .hero {
        padding: 64px 0;
    }

    .hero {
        min-height: auto;
        padding-top: 48px;
    }

    .hero::before {
        inset: auto -26vw -42vw auto;
        width: 78vw;
    }

    h1 {
        font-size: clamp(1.95rem, 9vw, 2.8rem);
        letter-spacing: -0.025em;
    }

    h2 {
        font-size: clamp(1.85rem, 11vw, 3rem);
    }

    .lead {
        margin-top: 18px;
        font-size: 1rem;
    }

    .button-row {
        margin-top: 24px;
    }

    .card-grid,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .button-row,
    .cookie-actions {
        width: 100%;
    }

    .button-row .button,
    .cookie-actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}
