:root {
    --brand: #0f766e;
    --ink: #17243d;
    --muted: #53647d;
    --line: #e2e8e6;
    --bg: #f4f8f7;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    color: var(--ink);
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px max(5%, calc((100vw - 1140px)/2));
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--brand);
}

.brand-logo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-name {
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.02em;
}

.brand-tag {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 24px;
}

nav a {
    text-decoration: none;
    font-weight: 600;
}

nav a:hover,
nav a[aria-current="page"] {
    color: var(--brand);
}

nav a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

.hero {
    background: linear-gradient(115deg, #e2f3ef, #f8fbfa 70%);
    padding: 100px 5%;
}

.hero-inner {
    max-width: 1140px;
    margin: auto;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 1.1;
    letter-spacing: -.04em;
    margin: 12px 0 22px;
    
}

.hero p:not(.eyebrow) {
    max-width: 650px;
    font-size: 1.15rem;
    color: var(--muted);
}

.eyebrow {
    color: var(--brand);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-block;
    padding: 12px 20px;
    background: var(--brand);
    color: white;
    border: 2px solid var(--brand);
    border-radius: 9px;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.button:hover {
    background: #0b5e57;
}

.button.secondary {
    background: transparent;
    color: var(--brand);
}

.section {
    padding: 72px max(5%, calc((100vw - 1140px)/2));
}

.section h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.2;
    margin: 8px 0 12px;
}

.section-heading p {
    color: var(--muted);
}

.filters {
    display: flex;
    gap: 12px;
    margin: 26px 0 10px;
}

.filters input {
    flex: 1;
    min-width: 0;
}

.filters select {
    width: 230px;
}

input,
select,
textarea {
    border: 1px solid #bac8da;
    padding: 13px;
    border-radius: 8px;
    font: inherit;
    background: white;
    color: var(--ink);
}

.result-count {
    color: var(--muted);
    font-size: .9rem;
}

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

.product-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    background: white;
    box-shadow: 0 4px 16px #0f3a3408;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    margin: 10px 0 8px;
    font-size: 1.2rem;
}

.product-card p {
    color: var(--muted);
    flex: 1;
}

.tag {
    color: var(--brand);
    background: #e3f3ef;
    padding: 4px 10px;
    border-radius: 30px;
    width: max-content;
    font-size: .75rem;
    font-weight: 700;
}

.product-card a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.product-card a:hover {
    text-decoration: underline;
}

.about {
    background: var(--bg);
    max-width: none;
    padding-left: max(5%, calc((100vw - 1140px)/2));
    padding-right: max(5%, calc((100vw - 1140px)/2));
}

.about p:last-child {
    max-width: 760px;
    color: var(--muted);
}

.contact {
    max-width: 850px;
}

.contact>p:not(.eyebrow) {
    color: var(--muted);
}

form {
    display: grid;
    gap: 18px;
    margin-top: 25px;
}

form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

form .button {
    justify-self: start;
}

.hidden-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status:empty {
    display: none;
}

.form-status.error {
    color: #b42318;
    font-weight: 600;
    margin: 0;
}

.form-status a {
    color: inherit;
}

.form-success {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg);
    padding: 32px;
}

.form-success h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    color: var(--brand);
}

.form-success p {
    color: var(--muted);
    margin: 0 0 20px;
}

.button:disabled {
    opacity: .7;
    cursor: wait;
}

.form-note {
    color: var(--muted);
    font-size: .85rem;
}

footer {
    background: #12223e;
    color: #d6deec;
    padding: 26px 5%;
    text-align: center;
    font-size: .85rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media(max-width:760px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    nav {
        flex-wrap: wrap;
        gap: 14px;
    }

    .hero {
        padding: 70px 5%;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .filters,
    .form-row {
        flex-direction: column;
        display: flex;
    }

    .filters select {
        width: 100%;
    }
}

/* ---------- Inner page header ---------- */
.page-hero {
    background: linear-gradient(115deg, #e2f3ef, #f8fbfa 70%);
    padding: 64px 5%;
}

.page-hero h1 {
    max-width: 780px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -.03em;
    margin: 8px 0 16px;
}

.page-hero p:not(.eyebrow) {
    max-width: 680px;
    font-size: 1.1rem;
    color: var(--muted);
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
    max-width: 680px;
}

/* ---------- Feature cards ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

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

.feature-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    background: white;
    box-shadow: 0 4px 16px #0f3a3408;
    display: flex;
    flex-direction: column;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.feature-card .tag + h3 {
    margin-top: 10px;
}

.feature-card p {
    color: var(--muted);
    margin: 0;
    flex: 1;
}

.link-card {
    text-decoration: none;
    transition: border-color .15s, transform .15s;
}

.link-card:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.card-link {
    margin-top: 14px;
    color: var(--brand);
    font-weight: 700;
}

/* ---------- Steps ---------- */
.steps {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.steps li {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px;
}

.steps h3 {
    margin: 12px 0 6px;
    font-size: 1.05rem;
}

.about .steps p {
    color: var(--muted);
    margin: 0;
}

.step-number {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand);
    color: white;
    font-weight: 800;
}

/* ---------- Call-to-action band ---------- */
.cta-band {
    background: var(--brand);
    color: white;
    border-radius: 18px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-band h2 {
    margin: 0 0 6px;
}

.cta-band p {
    margin: 0;
    color: #d3eee8;
}

.cta-band .actions {
    margin-top: 0;
}

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

.button.light:hover {
    background: #e3f3ef;
}

.button.outline-light {
    background: transparent;
    color: white;
    border-color: white;
}

.button.outline-light:hover {
    background: #ffffff1f;
}

/* ---------- Contact page ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.contact-layout form {
    margin-top: 0;
}

.info-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
}

.info-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.info-card h3:not(:first-child) {
    margin-top: 24px;
}

.info-card p {
    margin: 0;
}

.info-label {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.info-card a {
    color: var(--brand);
    font-weight: 600;
    word-break: break-word;
}

.next-steps {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.next-steps li + li {
    margin-top: 6px;
}

@media(max-width:960px) {
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:760px) {
    .brand {
        gap: 12px;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-name {
        font-size: 1.35rem;
    }

    .brand-tag {
        font-size: .62rem;
        letter-spacing: .04em;
    }

    .feature-grid,
    .feature-grid.two,
    .steps,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 48px 5%;
    }

    .cta-band {
        padding: 28px;
    }
}
