:root {
    color-scheme: light;
    --ink: #13201f;
    --muted: #53625f;
    --paper: #f7f8f4;
    --surface: #ffffff;
    --line: #d8dfd9;
    --teal: #007f78;
    --teal-dark: #005f5a;
    --lime: #c8e35e;
    --orange: #f28a2e;
    --charcoal: #101817;
    --shadow: 0 24px 70px rgba(19, 32, 31, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.55;
}

a {
    color: var(--teal-dark);
    text-underline-offset: 0.18em;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
    padding: 0 6vw;
    background: rgba(247, 248, 244, 0.92);
    border-bottom: 1px solid rgba(19, 32, 31, 0.08);
    backdrop-filter: blur(16px);
}

.brand,
.nav-links {
    display: flex;
    align-items: center;
}

.brand {
    gap: 0.65rem;
    color: var(--ink);
    font-weight: 760;
    text-decoration: none;
}

.brand-mark {
    width: 30px;
    height: 30px;
    border: 2px solid var(--teal);
    border-radius: 50%;
    background:
        radial-gradient(circle at center, var(--lime) 0 4px, transparent 5px),
        linear-gradient(90deg, transparent 0 12px, var(--teal) 12px 15px, transparent 15px),
        linear-gradient(0deg, transparent 0 12px, var(--teal) 12px 15px, transparent 15px);
}

.nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 650;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--teal-dark);
}

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 620px;
    padding: 7rem 6vw 5rem;
    overflow: hidden;
    background: var(--charcoal);
    color: #f8fffb;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(16, 24, 23, 0.90) 0%, rgba(16, 24, 23, 0.74) 48%, rgba(16, 24, 23, 0.36) 100%),
        url("/assets/sensor-network.svg") right 4vw center / min(58vw, 720px) auto no-repeat,
        #101817;
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
}

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

.eyebrow {
    margin: 0 0 0.8rem;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--lime);
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    font-size: clamp(4rem, 12vw, 9rem);
    line-height: 0.88;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 4.8vw, 4.2rem);
    line-height: 1;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 610px;
    margin: 1.35rem 0 0;
    color: #d8e8e3;
    font-size: clamp(1.16rem, 2vw, 1.45rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.78rem 1.05rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 780;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    background: var(--lime);
    color: #162000;
}

.button.primary:hover {
    background: #d6ef72;
}

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

.button.secondary {
    border-color: rgba(255, 255, 255, 0.34);
    color: #f8fffb;
    background: rgba(255, 255, 255, 0.08);
}

.metric-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.metric-band > div {
    display: grid;
    gap: 0.25rem;
    padding: 1.4rem 6vw;
    background: var(--surface);
}

.metric-value {
    color: var(--teal-dark);
    font-size: clamp(1.6rem, 3.2vw, 3rem);
    font-weight: 840;
    line-height: 1;
}

.metric-label {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 680;
}

.credibility-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-bottom: 1px solid var(--line);
}

.credibility-band article {
    min-height: 204px;
    padding: clamp(1.25rem, 2.4vw, 2rem) 6vw;
    background: #fbfbf7;
}

.credibility-kicker {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 820;
    letter-spacing: 0;
    text-transform: uppercase;
}

.credibility-band h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.35rem, 2.4vw, 2.15rem);
    line-height: 1.08;
}

.credibility-band h2 a {
    color: inherit;
}

.credibility-band p {
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.section {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 6rem);
    padding: clamp(4.5rem, 9vw, 8rem) 6vw;
}

.section-copy {
    align-self: start;
}

.section-text {
    color: var(--muted);
    font-size: 1.08rem;
}

.section-text p:first-child {
    margin-top: 0;
}

.technology {
    grid-template-columns: minmax(0, 0.74fr) minmax(320px, 0.9fr) minmax(0, 0.76fr);
    align-items: center;
    background: #edf3ef;
}

.visual-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    border: 1px solid rgba(19, 32, 31, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.visual-panel img {
    width: min(92%, 520px);
    height: auto;
    display: block;
}

.applications {
    display: block;
    background: #fbfbf7;
}

.applications .section-copy {
    width: min(840px, 100%);
    margin-bottom: 2.4rem;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.benefit {
    min-height: 172px;
    padding: 1.35rem;
    background: var(--surface);
}

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

.contact-band {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr);
    gap: clamp(2rem, 6vw, 7rem);
    padding: clamp(4rem, 8vw, 7rem) 6vw;
    background: #16201f;
    color: #f8fffb;
}

.contact-copy p:not(.eyebrow) {
    color: #c8d7d2;
    font-size: 1.08rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
}

.contact-form label {
    display: grid;
    gap: 0.38rem;
    color: #d9e5e1;
    font-size: 0.92rem;
    font-weight: 740;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 0.82rem 0.9rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 148px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(200, 227, 94, 0.62);
    outline-offset: 2px;
}

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

.feedback-slot {
    min-height: 3.65rem;
}

.flash {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-weight: 720;
}

.flash.success {
    background: rgba(200, 227, 94, 0.2);
    color: #f5ffd2;
    border: 1px solid rgba(200, 227, 94, 0.38);
}

.flash.error {
    background: rgba(242, 138, 46, 0.16);
    color: #ffe1c7;
    border: 1px solid rgba(242, 138, 46, 0.38);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 6vw;
    border-top: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .hero {
        min-height: 560px;
        padding-top: 5.5rem;
    }

    .hero-backdrop {
        background:
            linear-gradient(90deg, rgba(16, 24, 23, 0.93) 0%, rgba(16, 24, 23, 0.80) 100%),
            url("/assets/sensor-network.svg") right -100px bottom 24px / 560px auto no-repeat,
            #101817;
    }

    .section,
    .technology,
    .contact-band {
        grid-template-columns: 1fr;
    }

    .visual-panel {
        min-height: 280px;
    }

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

@media (max-width: 680px) {
    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .nav-links {
        justify-content: flex-start;
    }

    .hero {
        min-height: 520px;
        padding: 4rem 6vw;
    }

    h1 {
        font-size: clamp(3.4rem, 20vw, 5.4rem);
    }

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

    .metric-band,
    .credibility-band,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .metric-band > div {
        padding: 1.2rem 6vw;
    }

    .site-footer {
        flex-direction: column;
    }
}
