* {
    box-sizing: border-box;
}

:root {
    --brand: #102a2f;
    --accent: #16a394;
    --warm: #ff8a4c;
    --ink: #142126;
    --muted: #6a7a82;
    --soft: #eefaf8;
    --mist: #f5fbfd;
    --paper: #ffffff;
    --line: rgba(16, 42, 47, .1);
    --shadow: 0 26px 70px rgba(21, 69, 77, .12);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, #f6fcff 0%, #ffffff 36%, #f7fbfa 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.62;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(rgba(22, 163, 148, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 163, 148, .04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.site-header {
    position: sticky;
    z-index: 30;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 14px clamp(20px, 5vw, 78px);
    border-bottom: 1px solid rgba(16, 42, 47, .08);
    background: rgba(250, 254, 255, .78);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(22, 163, 148, .18);
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .22), transparent),
        linear-gradient(135deg, var(--brand), var(--accent));
    box-shadow: 0 14px 34px rgba(22, 163, 148, .22);
    font-weight: 900;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    max-width: 28vw;
    overflow: hidden;
    color: var(--brand);
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand small {
    max-width: 38vw;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.site-nav a {
    padding: 10px 13px;
    border-radius: 8px;
    color: #365158;
    font-size: 14px;
    font-weight: 800;
    transition: .22s ease;
}

.site-nav a:hover {
    color: var(--accent);
    background: rgba(22, 163, 148, .08);
}

.site-nav .nav-cta {
    color: #fff;
    background: var(--brand);
    box-shadow: 0 12px 28px rgba(16, 42, 47, .16);
}

.site-nav .nav-cta:hover {
    color: #fff;
    background: var(--accent);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    background: var(--brand);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: min(820px, calc(100vh - 74px));
    align-items: center;
    overflow: hidden;
    padding: clamp(92px, 11vw, 138px) clamp(20px, 6vw, 86px) clamp(76px, 8vw, 106px);
    background:
        linear-gradient(116deg, rgba(248, 253, 255, .98) 0%, rgba(242, 252, 249, .96) 46%, rgba(255, 255, 255, .82) 100%);
}

.hero::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .68) 47%, rgba(255, 255, 255, .4) 100%),
        repeating-linear-gradient(90deg, rgba(16, 42, 47, .04) 0 1px, transparent 1px 88px),
        repeating-linear-gradient(0deg, rgba(16, 42, 47, .035) 0 1px, transparent 1px 88px);
}

.hero::after {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 210px;
    pointer-events: none;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .94));
}

.hero-effect-canvas {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: .95;
    pointer-events: none;
}

.hero[data-hero-effect-mode="none"] .hero-effect-canvas {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(790px, 100%);
}

.hero-content .eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(22, 163, 148, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 12px 34px rgba(22, 163, 148, .09);
    backdrop-filter: blur(14px);
}

.hero h1,
.page-hero h1 {
    margin: 0;
    color: var(--brand);
    font-size: clamp(46px, 8vw, 92px);
    line-height: .98;
}

.hero p:not(.eyebrow) {
    width: min(720px, 100%);
    margin: 24px 0 0;
    color: #40565e;
    font-size: clamp(18px, 2vw, 23px);
}

.hero-actions,
.install-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid rgba(16, 42, 47, .12);
    border-radius: 8px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--accent), #0d7f79);
    box-shadow: 0 18px 42px rgba(22, 163, 148, .25);
}

.button-ghost {
    color: var(--brand);
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 14px 36px rgba(18, 57, 65, .08);
    backdrop-filter: blur(12px);
}

.stats-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 0 clamp(20px, 6vw, 86px) 44px;
    background: linear-gradient(180deg, #fff, #f5fbfd);
}

.stats-band div {
    min-height: 168px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(16, 42, 47, .08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(244, 253, 251, .88));
    box-shadow: 0 20px 52px rgba(20, 70, 78, .08);
}

.stats-band div:first-child {
    border-radius: 8px 0 0 8px;
}

.stats-band div:last-child {
    border-radius: 0 8px 8px 0;
}

.stats-band strong {
    display: block;
    color: var(--brand);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
}

.stats-band span {
    display: block;
    margin-top: 12px;
    color: var(--accent);
    font-weight: 900;
}

.stats-band p {
    max-width: 360px;
    margin: 10px 0 0;
    color: var(--muted);
}

.section {
    padding: clamp(72px, 10vw, 126px) clamp(20px, 6vw, 86px);
}

.section-heading {
    width: min(780px, 100%);
    margin-bottom: clamp(28px, 5vw, 58px);
}

.section-heading h2,
.contact-copy h2,
.cta-band h2,
.editorial h2 {
    margin: 0;
    color: var(--brand);
    font-size: clamp(30px, 5vw, 56px);
    line-height: 1.04;
}

.section-heading p:not(.eyebrow),
.contact-copy > p,
.cta-band p {
    color: var(--muted);
    font-size: 18px;
}

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

.service-card,
.case-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 42, 47, .09);
    border-radius: 8px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 20px 56px rgba(18, 70, 78, .08);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.service-card::before,
.case-card::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(135deg, rgba(22, 163, 148, .1), transparent 38%),
        linear-gradient(315deg, rgba(255, 138, 76, .08), transparent 32%);
    opacity: 0;
    transition: opacity .24s ease;
}

.service-card:hover,
.case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(22, 163, 148, .28);
    box-shadow: 0 30px 76px rgba(18, 70, 78, .14);
}

.service-card:hover::before,
.case-card:hover::before {
    opacity: 1;
}

.service-card img {
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
    filter: saturate(1.04);
}

.service-card div,
.case-card div {
    position: relative;
    z-index: 1;
    padding: 24px;
}

.service-card span,
.case-card span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
}

.service-card h3,
.case-card h3,
.advantage-list h3,
.timeline h3 {
    margin: 10px 0;
    color: var(--brand);
    font-size: 22px;
    line-height: 1.2;
}

.service-card p,
.case-card p,
.advantage-list p,
.timeline p {
    margin: 0;
    color: var(--muted);
}

.contrast {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #f3fbfd, #ffffff);
}

.contrast::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        repeating-linear-gradient(90deg, transparent 0 82px, rgba(22, 163, 148, .08) 82px 83px),
        repeating-linear-gradient(0deg, transparent 0 82px, rgba(22, 163, 148, .06) 82px 83px);
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

.contrast .section-heading,
.contrast .advantage-list {
    position: relative;
    z-index: 1;
}

.contrast .section-heading h2 {
    color: var(--brand);
}

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

.advantage-list article {
    padding: 28px;
    border: 1px solid rgba(16, 42, 47, .09);
    border-radius: 8px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 18px 54px rgba(18, 70, 78, .08);
    backdrop-filter: blur(14px);
}

.advantage-list span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(22, 163, 148, .22);
    border-radius: 8px;
    color: var(--accent);
    background: rgba(22, 163, 148, .09);
    font-weight: 900;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.case-card {
    display: grid;
    grid-template-columns: minmax(220px, .92fr) minmax(240px, 1.08fr);
    min-height: 310px;
}

.case-card img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.case-card a {
    display: inline-flex;
    width: fit-content;
    min-height: 38px;
    align-items: center;
    margin-top: 22px;
    padding: 0 13px;
    border: 1px solid rgba(22, 163, 148, .2);
    border-radius: 8px;
    color: var(--accent);
    background: rgba(22, 163, 148, .08);
    font-weight: 900;
}

.split {
    display: grid;
    grid-template-columns: minmax(280px, .76fr) minmax(520px, 1.24fr);
    gap: clamp(32px, 7vw, 90px);
    align-items: start;
}

#process {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(246, 252, 255, .92), rgba(255, 255, 255, .98) 48%, rgba(238, 250, 248, .9));
}

#process::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(rgba(22, 163, 148, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 163, 148, .055) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

#process > * {
    position: relative;
    z-index: 1;
}

.sticky-heading {
    position: sticky;
    top: 104px;
}

.timeline {
    position: relative;
    display: grid;
    gap: 14px;
}

.timeline::before {
    display: none;
}

.timeline article {
    position: relative;
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 20px;
    min-height: 132px;
    align-items: center;
    padding: 24px 26px;
    border: 1px solid rgba(16, 42, 47, .09);
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 18px 54px rgba(18, 70, 78, .08);
    backdrop-filter: blur(14px);
}

.timeline article::before {
    display: none;
}

.timeline span {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 138, 76, .24);
    border-radius: 8px;
    color: var(--warm);
    background: rgba(255, 138, 76, .08);
    font-size: 24px;
    font-weight: 900;
}

.timeline h3,
.timeline p {
    grid-column: 2;
}

.timeline h3 {
    align-self: end;
}

.timeline p {
    align-self: start;
}

.editorial {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    background: linear-gradient(180deg, #f6fcff, #eefaf8);
}

.quote-list,
.faq-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

blockquote {
    margin: 0;
    padding: 26px;
    border: 1px solid rgba(16, 42, 47, .09);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 18px 48px rgba(18, 70, 78, .07);
}

blockquote p {
    margin: 0 0 16px;
    color: #30454b;
    font-size: 18px;
}

blockquote cite {
    color: var(--muted);
    font-style: normal;
    font-weight: 900;
}

details {
    border: 1px solid rgba(16, 42, 47, .09);
    border-radius: 8px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 16px 42px rgba(18, 70, 78, .06);
}

summary {
    cursor: pointer;
    padding: 18px 20px;
    color: var(--brand);
    font-weight: 900;
}

details p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--muted);
}

.cta-band {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    padding: clamp(54px, 8vw, 84px) clamp(20px, 6vw, 86px);
    color: #fff;
    background:
        linear-gradient(135deg, #102a2f, #0c5d5a 54%, #16a394);
}

.cta-band::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 70px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 70px);
    opacity: .38;
}

.cta-band > * {
    position: relative;
    z-index: 1;
}

.cta-band h2,
.cta-band p {
    color: #fff;
}

.cta-band p {
    max-width: 720px;
    color: rgba(255, 255, 255, .78);
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(280px, .88fr) minmax(320px, 1.12fr);
    gap: clamp(34px, 6vw, 90px);
    padding: clamp(72px, 10vw, 118px) clamp(20px, 6vw, 86px);
    background: #fff;
}

.contact-copy dl {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contact-copy div {
    padding: 18px;
    border: 1px solid rgba(16, 42, 47, .08);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(246, 252, 255, .82), rgba(255, 255, 255, .94));
}

.contact-copy dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.contact-copy dd {
    margin: 4px 0 0;
    color: var(--brand);
    font-size: 18px;
    font-weight: 900;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid rgba(16, 42, 47, .09);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(245, 252, 251, .78));
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: #34494f;
    font-size: 14px;
    font-weight: 900;
}

.contact-form .full {
    grid-column: 1 / -1;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(16, 42, 47, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .88);
    color: var(--brand);
    font: inherit;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(22, 163, 148, .62);
    box-shadow: 0 0 0 4px rgba(22, 163, 148, .12);
}

input,
select {
    height: 46px;
    padding: 0 14px;
}

textarea {
    min-height: 132px;
    padding: 12px 14px;
    resize: vertical;
}

.contact-form button {
    width: fit-content;
}

.site-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 34px clamp(20px, 6vw, 86px);
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .78);
    background: #102a2f;
}

.site-footer strong {
    color: #fff;
}

.site-footer p {
    margin: 8px 0 0;
}

.footer-links {
    display: grid;
    justify-items: end;
    gap: 4px;
}

.page-hero {
    min-height: 440px;
    display: flex;
    align-items: flex-end;
    padding: clamp(72px, 9vw, 118px) clamp(20px, 6vw, 86px);
    color: #fff;
    background-position: center;
    background-size: cover;
}

.page-hero div,
.page-content {
    width: min(920px, 100%);
}

.page-hero h1 {
    color: #fff;
}

.page-hero p:not(.eyebrow) {
    max-width: 720px;
    color: rgba(255, 255, 255, .82);
    font-size: 20px;
}

.page-content {
    margin: 0 auto;
    padding: clamp(54px, 8vw, 90px) 20px;
}

.page-content p {
    color: #30454b;
    font-size: 19px;
}

.missing-page {
    min-height: 58vh;
}

.toast {
    position: fixed;
    z-index: 40;
    right: 24px;
    bottom: 24px;
    max-width: min(420px, calc(100vw - 48px));
    padding: 14px 18px;
    border-radius: 8px;
    color: #fff;
    background: var(--brand);
    box-shadow: 0 18px 54px rgba(16, 42, 47, .2);
}

.toast-error {
    background: #b42318;
}

.install-required {
    display: grid;
    min-height: 100vh;
    place-items: center;
    background:
        linear-gradient(135deg, #f7fcff, #eefaf8);
}

.install-notice {
    width: min(620px, calc(100vw - 40px));
    padding: clamp(28px, 6vw, 54px);
    border: 1px solid rgba(16, 42, 47, .1);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--shadow);
}

.install-notice h1 {
    margin: 0;
    color: var(--brand);
    font-size: clamp(36px, 6vw, 64px);
}

.install-notice p {
    color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 1100px) {
    .hero {
        min-height: auto;
        padding: 86px clamp(24px, 7vw, 68px) 58px;
    }

    .hero-content {
        width: min(760px, 100%);
    }

    .case-card {
        grid-template-columns: 1fr;
    }

    .case-card img {
        height: auto;
        min-height: 0;
        aspect-ratio: 1.75;
    }
}

@media (max-width: 980px) {
    .service-grid,
    .advantage-list,
    .stats-band,
    .case-grid,
    .editorial,
    .contact-section,
    .split {
        grid-template-columns: 1fr;
    }

    .stats-band {
        gap: 12px;
    }

    .stats-band div,
    .stats-band div:first-child,
    .stats-band div:last-child {
        border-radius: 8px;
    }

    .sticky-heading {
        position: static;
    }

    .cta-band,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        justify-items: start;
    }
}

@media (max-width: 760px) {
    .site-header {
        min-height: 66px;
        padding: 12px 16px;
    }

    .brand small {
        display: none;
    }

    .brand strong {
        max-width: 52vw;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 66px;
        right: 12px;
        left: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 24px 60px rgba(16, 42, 47, .13);
    }

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

    .hero {
        padding: 76px 24px 42px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(42px, 14vw, 70px);
    }

    .hero p:not(.eyebrow) {
        font-size: 17px;
    }

    .timeline article {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 12px;
        padding: 20px;
    }

    .timeline::before,
    .timeline article::before {
        display: none;
    }

    .timeline span {
        grid-column: auto;
        grid-row: auto;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .timeline h3,
    .timeline p {
        grid-column: auto;
    }

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

@media (max-width: 480px) {
    .hero {
        min-height: auto;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        margin-top: 24px;
    }

    .hero-actions .button {
        width: 100%;
        min-height: 46px;
        padding: 0 12px;
        font-size: 15px;
    }

    .section,
    .contact-section {
        padding-right: 16px;
        padding-left: 16px;
    }
}
