:root {
    --forest: #173e32;
    --forest-deep: #102f27;
    --sage: #dce6d9;
    --ivory: #f7f4eb;
    --paper: #fffdf8;
    --clay: #c38b58;
    --ink: #23352d;
    --muted: #68776c;
    --line: #d8ddd2;
    color: var(--ink);
    background: var(--paper);
    font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    min-width: 320px;
    margin: 0;
    background: var(--paper);
    line-height: 1.65;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.skip-link {
    position: absolute;
    z-index: 10;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.6rem 0.85rem;
    transform: translateY(-150%);
    border-radius: 0.3rem;
    color: white;
    background: var(--forest);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
    position: relative;
    z-index: 5;
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.9rem clamp(1.2rem, 6vw, 6rem);
    border-bottom: 1px solid #e8e7df;
    background: var(--paper);
}

.brand {
    display: inline-flex;
    min-width: 0;
    flex: 0 1 auto;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: clamp(220px, 18vw, 260px);
    max-width: 100%;
    max-height: 68px;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 3vw, 2.8rem);
}

.desktop-nav a {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.mobile-nav nav a,
.site-footer nav a {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.desktop-nav a:hover,
.mobile-nav nav a:hover,
.site-footer nav a:hover { color: var(--clay); }

.desktop-nav .nav-cta {
    padding: 0.68rem 1.15rem;
    border: 1px solid var(--forest);
    border-radius: 2rem;
    color: var(--forest);
}

.desktop-nav .nav-cta:hover { color: var(--paper); background: var(--forest); }

.header-login {
    display: inline-flex;
    min-height: 46px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.1rem;
    border-radius: 2rem;
    color: white;
    background: var(--forest);
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.header-login:hover { background: var(--forest-deep); }

.mobile-nav { display: none; }

.mobile-nav summary {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 2rem;
    color: var(--forest);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 650;
    list-style: none;
}

.mobile-nav summary::-webkit-details-marker { display: none; }

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
}

.menu-icon { position: relative; }
.menu-icon::before,
.menu-icon::after { position: absolute; left: 0; content: ""; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }

.mobile-nav[open] > nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.25rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: var(--paper);
    box-shadow: 0 1rem 2rem #173e3218;
}

.mobile-nav nav a { padding: 0.8rem 0.9rem; border-radius: 0.45rem; }
.mobile-nav nav a:hover { background: var(--ivory); }

.home-page {
    --home-navy: #18334c;
    --home-blue: #eaf1f7;
    --home-orange: #fbf0e5;
    --home-purple: #f1eef8;
    color: var(--home-navy);
}

.home-page h2,
.home-page h3 { color: var(--home-navy); }

.home-hero {
    display: grid;
    min-height: min(740px, calc(100vh - 88px));
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    background: var(--forest);
    color: white;
}

.home-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(3rem, 7vw, 7rem);
}

.home-hero .eyebrow { color: #e5c99f; }

.home-page .home-hero h1 {
    max-width: none;
    margin-bottom: 1rem;
    color: white;
    font-size: clamp(3rem, 4vw, 3.625rem);
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.home-hero-lede {
    max-width: 34rem;
    margin-bottom: 0;
    color: #e2ebe4;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.75;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.home-action {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.8rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease;
}

.home-action:hover,
.home-service-action:hover,
.home-apps-link:hover { transform: translateY(-2px); }

.home-action-primary {
    color: var(--forest-deep);
    background: var(--ivory);
}

.home-action-primary:hover { background: white; }

.home-action-secondary {
    border-color: #ffffff80;
    color: white;
}

.home-action-secondary:hover { background: #ffffff18; }

.home-hero-photo {
    position: relative;
    min-width: 0;
    min-height: 34rem;
    margin: 0;
    overflow: hidden;
    background: #829476;
}

.home-hero-photo img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 36% center;
}

.home-story {
    padding: clamp(4rem, 7vw, 6.5rem) 0 clamp(1rem, 1.5vw, 1.5rem);
    background: #f0f5f7;
}

.home-story-inner {
    width: min(1500px, calc(100% - 3rem));
    margin-inline: auto;
}

.home-story-heading {
    max-width: 780px;
    margin: 0 auto 2rem;
    text-align: center;
}

.home-story-heading h2,
.home-commitment h2 { color: #315f8b; }

.home-story-intro {
    max-width: 680px;
    margin: 0 auto;
    color: #52645e;
    font-size: 1.05rem;
    line-height: 1.75;
}

.home-story-figure {
    margin: 0;
    padding: clamp(0.75rem, 2vw, 1.5rem);
    border: 1px solid #dbe4e7;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 1rem 2.5rem #18334c12;
}

.home-story-figure img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.home-story-scroll-hint { display: none; }

.home-story-caption {
    max-width: 760px;
    margin: 1.1rem auto 0;
    color: #52645e;
    font-size: 0.9rem;
    line-height: 1.65;
    text-align: center;
}

.home-story-actions { display: flex; justify-content: center; margin-top: 1.5rem; }
.home-story-action { color: white; background: var(--forest); }
.home-story-action:hover { background: var(--forest-deep); }

.eyebrow {
    margin: 0 0 1rem;
    color: #d7b58d;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow-dark { color: #8a6744; }

h1, h2, h3, h4, p { margin-top: 0; }

h1, h2, h3 {
    color: var(--forest);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.13;
}

h1 { max-width: 11ch; margin-bottom: 1.4rem; font-size: clamp(3rem, 5.4vw, 5.3rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 3.2vw, 3.15rem); }
h3 { margin-bottom: 0.7rem; font-size: 1.45rem; }

.hero-lede,
.page-hero > p:last-child {
    max-width: 36rem;
    color: #516258;
    font-size: 1.08rem;
    line-height: 1.8;
}

.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 2rem; }

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--forest); }
.button-primary:hover { background: var(--forest-deep); }
.button-light { color: var(--forest); background: var(--paper); }
.button-light:hover { background: white; }

.coming-soon-label { padding: 0.25rem 0.55rem; border-radius: 2rem; color: #5b684d; background: #dce6d9; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }

.text-link {
    color: var(--forest);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.3em;
}

.text-link span { padding-left: 0.25rem; color: var(--clay); }

.section-wrap { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }

.section-heading { max-width: 690px; margin-bottom: 2.4rem; }
.section-heading > p:last-child { max-width: 570px; color: var(--muted); }

.card-index { display: block; margin-bottom: 2.1rem; color: #9a7854; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.12em; }
.work-card p { margin-bottom: 0; color: var(--muted); }

.home-services { padding: clamp(1rem, 1.5vw, 1.5rem) 0 clamp(1rem, 1.5vw, 1.5rem); background: var(--ivory); }
.home-section-inner { width: min(1280px, calc(100% - 3rem)); margin-inline: auto; }
.home-section-heading { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.home-section-heading h2 { margin-bottom: 0.75rem; }
.home-section-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.home-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 1.5rem; }
.home-service-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #e1e3dc; border-top: 4px solid var(--home-card-accent); border-radius: 0.9rem; background: white; box-shadow: 0 0.6rem 1.8rem #162d2310; transition: transform 180ms ease, box-shadow 180ms ease; }
.home-service-card:hover { transform: translateY(-3px); box-shadow: 0 1rem 2.2rem #162d231a; }
.home-service-connect { --home-card-accent: #477b55; --home-card-tint: #eef4ed; }
.home-service-monitor { --home-card-accent: #315f8b; --home-card-tint: var(--home-blue); }
.home-service-support { --home-card-accent: #bd7540; --home-card-tint: var(--home-orange); }
.home-service-research { --home-card-accent: #70549a; --home-card-tint: var(--home-purple); }
.home-service-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.home-service-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.35rem; }
.home-service-copy h3 { margin-bottom: 0.6rem; font-size: 1.35rem; }
.home-service-copy p { margin-bottom: 1.25rem; color: #5c6b67; font-size: 0.91rem; line-height: 1.65; }
.home-service-action { display: inline-flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding: 0.65rem 0.85rem; border-radius: 0.55rem; color: var(--home-navy); background: var(--home-card-tint); font-size: 0.79rem; font-weight: 750; line-height: 1.35; text-decoration: none; transition: transform 160ms ease, background-color 160ms ease; }
.home-service-action:hover { background: var(--home-card-tint); }

.home-commitment { padding: clamp(1rem, 1.5vw, 1.5rem) 1.5rem clamp(4rem, 7vw, 6.5rem); background: #f7f4eb; }
.home-commitment-inner { width: min(900px, 100%); margin-inline: auto; }
.home-commitment .eyebrow { margin-bottom: 0.8rem; color: #8a6744; }
.home-commitment h2 { margin-bottom: 1.4rem; }
.home-commitment-copy { max-width: 780px; color: #52645e; font-size: 1rem; line-height: 1.8; }
.home-commitment-copy h3 { margin: 1.4rem 0 0.75rem; font-size: 1.3rem; }
.home-commitment-copy p:last-child { margin-bottom: 0; }
.home-commitment-copy strong { color: var(--forest); }

.home-benefits { padding: 1.4rem 1.5rem; background: var(--paper); }
.home-benefits-inner { display: grid; width: min(1200px, 100%); grid-template-columns: repeat(4, minmax(0, 1fr)); margin-inline: auto; }
.home-benefit { display: flex; min-width: 0; align-items: center; justify-content: center; gap: 0.75rem; padding: 0.7rem 1rem; }
.home-benefit + .home-benefit { border-left: 1px solid var(--line); }
.home-benefit p { margin: 0; color: var(--home-navy); font-size: 0.88rem; font-weight: 650; line-height: 1.45; }
.home-benefit-marker { width: 0.65rem; height: 0.65rem; flex: 0 0 0.65rem; border-radius: 50%; background: var(--forest); }
.home-benefit:nth-child(2) .home-benefit-marker { background: #315f8b; }
.home-benefit:nth-child(3) .home-benefit-marker { background: #bd7540; }
.home-benefit:nth-child(4) .home-benefit-marker { background: #70549a; }

.home-apps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.85fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); padding: clamp(2rem, 5vw, 3.5rem) max(1.5rem, calc((100% - 1200px) / 2)); color: white; background: var(--forest-deep); }
.home-apps-copy { max-width: 43rem; }
.home-apps .eyebrow { margin-bottom: 0.55rem; color: #e5c99f; }
.home-apps h2 { margin-bottom: 0.55rem; color: white; font-size: clamp(1.7rem, 3vw, 2.45rem); }
.home-apps-copy > p:not(.eyebrow) { margin-bottom: 1rem; color: #dce6dd; }
.home-apps-link { display: inline-flex; min-height: 54px; align-items: center; gap: 0.6rem; padding: 0.8rem 1.25rem; border-radius: 2rem; color: var(--forest-deep); background: var(--ivory); font-size: 0.95rem; font-weight: 750; text-decoration: none; transition: transform 160ms ease; }
.home-access-options { display: grid; width: min(100%, 430px); gap: 0.8rem; justify-self: end; }
.home-qr-link { display: flex; min-width: 0; align-items: center; gap: 1rem; padding: 0.75rem; border-radius: 0.9rem; color: var(--home-navy); background: var(--ivory); font-size: 0.9rem; font-weight: 750; line-height: 1.45; text-decoration: none; }
.home-qr-link:hover { background: white; }
.home-qr-image { display: block; width: 112px; height: 112px; flex: 0 0 112px; padding: 0.2rem; border-radius: 0.45rem; background: white; }
.home-mobile-status { display: flex; min-width: 0; align-items: center; gap: 0.9rem; padding: 0.8rem 1rem; border: 1px solid #ffffff45; border-radius: 0.85rem; background: #ffffff0d; }
.home-mobile-status-icon { display: grid; width: 2.4rem; height: 2.4rem; flex: 0 0 2.4rem; place-items: center; border-radius: 50%; color: var(--forest-deep); background: #e5c99f; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; }
.home-mobile-status strong { color: white; font-size: 0.92rem; }

.home-closing {
    padding: clamp(4rem, 7vw, 6rem) 1.5rem;
    color: white;
    background: linear-gradient(135deg, var(--forest), var(--forest-deep));
    text-align: center;
}

.home-closing-inner { width: min(820px, 100%); margin-inline: auto; }
.home-closing .eyebrow { color: #e5c99f; }
.home-closing h2 { max-width: none; margin-bottom: 1rem; color: white; }
.home-closing-inner > p:not(.eyebrow) { max-width: 650px; margin: 0 auto 1.6rem; color: #e2ebe4; font-size: 1.05rem; line-height: 1.75; }

.page-hero { padding-block: clamp(4rem, 8vw, 7rem) 3rem; }
.page-hero h1 { max-width: 14ch; font-size: clamp(2.8rem, 5vw, 4.8rem); }
.page-hero > p:last-child { max-width: 45rem; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-bottom: clamp(4rem, 7vw, 6rem); }
.work-card { min-height: 300px; padding: 1.6rem; border-radius: 0.65rem; }
.work-card-dark { color: white; background: var(--forest); }
.work-card-dark h2, .work-card-dark p { color: white; }
.work-card-cream { background: var(--ivory); }
.work-card-photo { color: white; background: linear-gradient(145deg, #234837, #4e674a); }
.work-card-photo h2, .work-card-photo p { color: white; }
.work-card h2 { margin-bottom: 1rem; font-size: 1.75rem; }
.work-card .card-index { margin-bottom: 3rem; }
.work-card-dark .card-index, .work-card-photo .card-index { color: #dbc09d; }

.farmtrail-section { padding-block: 1rem clamp(4rem, 8vw, 7rem); }
.farmtrail-section .section-heading { margin-bottom: 2rem; }
.farmtrail-section .section-heading h2 { max-width: 17ch; }
.farmtrail-section .section-heading > p:last-child { font-size: 1.05rem; }
.connect-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr); gap: 3rem; align-items: start; }
.connect-copy { max-width: 690px; color: #56665a; }
.connect-copy p { margin-bottom: 1.1rem; }
.caution-note { padding: 1rem 1.1rem; border-left: 3px solid var(--clay); color: #48594e; background: var(--ivory); }
.connect-aside { padding: 1.5rem; border-radius: 0.6rem; background: #eaf0e7; }
.connect-aside p { color: var(--muted); }
.aside-mark { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 1rem; border-radius: 50%; color: white; background: var(--forest); }

.hardware-section { padding-block: clamp(4rem, 8vw, 7rem); color: var(--paper); background: var(--forest); }
.hardware-heading h2, .hardware-heading > p:last-child { color: var(--paper); }
.hardware-heading > p:last-child { opacity: 0.82; }
.hardware-groups { border-top: 1px solid #ffffff38; }
.hardware-group { border-bottom: 1px solid #ffffff38; }
.hardware-group summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; cursor: pointer; font-family: Georgia, serif; font-size: 1.3rem; list-style: none; }
.hardware-group summary::-webkit-details-marker { display: none; }
.hardware-group summary::after { content: "+"; color: #d5b28a; font-family: sans-serif; font-size: 1.4rem; }
.hardware-group[open] summary::after { content: "−"; }
.group-count { margin-left: auto; color: #d2dacf; font-family: "Avenir Next", sans-serif; font-size: 0.75rem; }
.hardware-content { padding: 0 0 1rem; }
.empty-hardware { max-width: 620px; margin: 0 0 1rem; color: #d8e0d5; font-size: 0.92rem; }
.hardware-device { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1rem; align-items: start; padding: 1rem; border-radius: 0.5rem; color: var(--ink); background: var(--paper); }
.hardware-device h3 { margin: 0; font-size: 1.15rem; }
.hardware-device p { margin: 0; font-size: 0.86rem; }
.hardware-device p span { display: block; margin-bottom: 0.25rem; color: var(--muted); font-size: 0.69rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.device-manufacturer { color: var(--muted); }
.verification-status { color: var(--forest); font-weight: 700; }
.device-notes { grid-column: 1 / -1; padding-top: 0.6rem; border-top: 1px solid var(--line); color: var(--muted); }
.hardware-footnote { margin: 1.2rem 0 0; color: #d0d9cf; font-size: 0.78rem; }

.provisioning-section { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(4rem, 8vw, 7rem); }
.provisioning-copy > p:last-child { color: var(--muted); }
.message-template { margin: 0; padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 0.7rem; background: var(--ivory); }
.message-template figcaption { margin-bottom: 1rem; color: #8a6744; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.message-template blockquote { margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.55; }
.message-template p { margin: 1rem 0 0; color: var(--muted); font-size: 0.78rem; }

.integration-section { padding-block: clamp(4rem, 8vw, 7rem); background: var(--ivory); }
.integration-heading { max-width: 760px; }
.integration-heading h2 { max-width: 18ch; }
.integration-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.integration-card { display: flex; min-width: 0; min-height: 275px; flex-direction: column; align-items: flex-start; padding: 1.5rem; border: 1px solid var(--line); border-radius: 0.65rem; background: var(--paper); }
.integration-mark { display: grid; min-width: 2.8rem; height: 2.8rem; place-items: center; margin-bottom: 1.2rem; padding-inline: 0.45rem; border-radius: 0.6rem; color: var(--paper); background: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.04em; }
.integration-card h3 { margin-bottom: 0.7rem; font-size: 1.35rem; }
.integration-card p { flex: 1; margin-bottom: 1.3rem; color: var(--muted); font-size: 0.9rem; }
.integration-card a { color: var(--forest); font-size: 0.82rem; font-weight: 750; text-underline-offset: 0.25em; }
.integration-card a span { padding-left: 0.2rem; color: #9a7854; }
.integration-card .integration-detail-link { margin-bottom: 0.55rem; }
.integration-note { max-width: 860px; margin: 1.5rem 0 0; color: var(--muted); font-size: 0.8rem; }

.aws-page-hero h1 { max-width: 15ch; }
.aws-page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.8rem; }
.aws-page-links .button { min-height: 50px; }
.aws-flow-section { padding-block: clamp(3rem, 6vw, 5rem); }
.aws-flow-figure { margin: 0; }
.aws-flow-image { display: block; width: 100%; height: auto; }
.aws-flow-diagram { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(0.8rem, 2vw, 1.6rem); }
.aws-flow-node { display: grid; min-height: 190px; align-content: center; justify-items: center; gap: 0.55rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 0.75rem; text-align: center; background: var(--paper); }
.aws-flow-node-primary { color: var(--paper); border-color: var(--forest); background: var(--forest); }
.aws-flow-node-cloud { background: #eaf0e7; }
.aws-flow-symbol { display: grid; width: 2.4rem; height: 2.4rem; place-items: center; border-radius: 50%; color: var(--forest); background: var(--sage); font-size: 0.7rem; font-weight: 800; }
.aws-flow-node-primary .aws-flow-symbol { color: var(--forest); background: var(--paper); }
.aws-flow-label { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 600; }
.aws-flow-node-primary .aws-flow-label { color: var(--paper); }
.aws-flow-detail { max-width: 15rem; color: var(--muted); font-size: 0.82rem; }
.aws-flow-node-primary .aws-flow-detail { color: #d7e0d7; }
.aws-flow-arrow { color: #987449; font-size: 1.6rem; }
.aws-flow-caption { margin: 1rem 0 0; color: var(--muted); font-size: 0.78rem; text-align: center; }
.aws-outcomes-section { padding-block: clamp(4rem, 7vw, 6rem); background: var(--ivory); }
.aws-outcomes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.aws-outcome-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 0.7rem; background: var(--paper); }
.aws-outcome-mark { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; margin-bottom: 1rem; border-radius: 50%; color: var(--paper); background: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
.aws-outcome-card h3 { font-size: 1.5rem; }
.aws-outcome-card ul, .aws-prerequisite-card ul, .aws-prerequisite-card ol { margin: 0; padding-left: 1.25rem; color: var(--muted); }
.aws-outcome-card li, .aws-prerequisite-card li { margin-top: 0.55rem; padding-left: 0.2rem; }
.aws-options-section { padding-block: clamp(4rem, 8vw, 7rem); scroll-margin-top: 1.5rem; }
.aws-options-section .section-heading { max-width: 760px; }
.aws-option-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.aws-option-card { display: flex; min-width: 0; min-height: 260px; flex-direction: column; padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 0.75rem; color: var(--ink); text-decoration: none; background: var(--paper); transition: transform 160ms ease, box-shadow 160ms ease; }
.aws-option-card:hover { transform: translateY(-3px); box-shadow: 0 1rem 2rem #173e3214; }
.aws-option-card-advanced { background: #eaf0e7; }
.aws-option-type { margin-bottom: 1.1rem; color: #8a6744; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.aws-option-card h3 { font-size: 1.65rem; }
.aws-option-card p { flex: 1; color: var(--muted); }
.aws-option-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; }
.aws-coming-soon { padding: 0.35rem 0.65rem; border: 1px solid #d6c19e; border-radius: 2rem; color: #6e5131; background: #f7f0e4; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.aws-option-link { color: var(--forest); font-size: 0.8rem; font-weight: 750; }
.aws-availability-note { max-width: 760px; margin: 1.4rem 0 0; color: var(--muted); font-size: 0.82rem; }
.aws-method-section { padding-block: clamp(3.5rem, 7vw, 6rem); scroll-margin-top: 1.5rem; background: var(--ivory); }
.aws-method-section-alt { background: var(--paper); }
.aws-method-heading { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: start; margin-bottom: 2rem; }
.aws-method-heading h2 { max-width: 20ch; }
.aws-method-heading > div > p:last-child { max-width: 760px; color: var(--muted); }
.aws-method-number { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 50%; color: var(--paper); background: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
.aws-prerequisites-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.aws-prerequisite-card { padding: clamp(1.2rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: 0.7rem; background: var(--paper); }
.aws-prerequisite-card h3 { font-size: 1.35rem; }
.aws-method-section-alt .aws-prerequisite-card { background: #f8f7f1; }

.closing-cta { padding-block: 3rem; color: white; background: #294b3c; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.closing-inner h2 { margin: 0; color: white; }
.closing-inner .eyebrow { color: #dbc09d; }

.contact-hero { padding-bottom: 1.5rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: clamp(2rem, 6vw, 5rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.contact-form-panel { min-width: 0; }
.contact-form { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 0.7rem; background: white; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 0.4rem; color: var(--forest); font-size: 0.82rem; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 0.75rem 0.8rem; border: 1px solid #cbd3ca; border-radius: 0.35rem; color: var(--ink); background: #fffefa; font: inherit; font-size: 0.9rem; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid #c38b583d; border-color: var(--clay); }
.field-error { display: block; margin-top: 0.3rem; color: #9c3329; }
.device-fields { margin: 1.5rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: 0.45rem; }
.device-fields legend { padding: 0 0.4rem; color: var(--forest); font-family: Georgia, serif; font-size: 1.15rem; }
.device-fields legend span { color: var(--muted); font-family: "Avenir Next", sans-serif; font-size: 0.7rem; }
.device-fields > p { color: var(--muted); font-size: 0.83rem; }
.privacy-note { margin: 1rem 0 0; color: #65766b; font-size: 0.76rem; }
.submit-button { border: 0; cursor: pointer; }
.success-message { margin-bottom: 1rem; padding: 1.2rem; border-left: 4px solid #6b8b62; border-radius: 0.35rem; background: #eaf2e7; }
.success-message h2 { margin-bottom: 0.5rem; font-size: 1.4rem; }
.success-message p { margin: 0; }
.form-alert { margin-bottom: 1rem; padding: 0.8rem 1rem; border-left: 4px solid #a13d2f; background: #f9e9e5; }
.form-alert p { margin: 0; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.honeypot-input { position: absolute; left: -10000px; }
.contact-aside { align-self: start; overflow: hidden; border-radius: 0.7rem; background: var(--ivory); }
.aside-image { height: 260px; background: #cad0bc; }
.aside-image img { width: 100%; height: 100%; object-fit: cover; }
.contact-aside-copy { padding: 1.6rem; }
.contact-aside-copy h2 { font-size: 1.8rem; }
.contact-aside-copy p:not(.eyebrow) { color: var(--muted); }

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem 2rem;
    align-items: start;
    padding: 2.5rem clamp(1.2rem, 6vw, 6rem);
    color: #dce5db;
    background: var(--forest-deep);
}

.footer-brand { color: white; font-family: Georgia, serif; font-size: 1.2rem; text-decoration: none; }
.site-footer p { margin: 0.35rem 0 0; color: #bdcbbf; font-size: 0.8rem; }
.site-footer address { margin-top: 0.65rem; font-style: normal; }
.site-footer address a { color: #dce5db; text-underline-offset: 0.15em; }
.site-footer address a:hover { color: white; }
.site-footer nav { display: flex; gap: 1.3rem; }
.site-footer nav a { color: white; font-size: 0.8rem; }
.site-footer .copyright { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid #ffffff2b; }

:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

@media (max-width: 900px) {
    .site-header { gap: 1rem; }
    .home-hero { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
    .home-hero-content { padding: clamp(2.5rem, 5vw, 4rem); }
    .home-page .home-hero h1 { max-width: none; font-size: clamp(2.5rem, 5.2vw, 3.25rem); }
    .connect-grid, .provisioning-section { grid-template-columns: 1fr; }
    .connect-aside { max-width: 520px; }
    .integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .aws-flow-diagram { gap: 0.6rem; }
    .aws-flow-node { min-height: 175px; padding: 1rem 0.7rem; }
    .aws-flow-arrow { font-size: 1.2rem; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-aside { display: grid; grid-template-columns: 0.8fr 1.2fr; }
    .aside-image { height: 100%; min-height: 250px; }
}

@media (max-width: 680px) {
    .site-header { min-height: 68px; gap: 0.4rem; padding-inline: 0.6rem; }
    .brand-logo { width: min(190px, 52vw); max-height: 52px; }
    .desktop-nav { display: none; }
    .header-login { min-height: 40px; gap: 0.2rem; padding: 0.5rem 0.62rem; font-size: 0.75rem; }
    .mobile-nav { display: block; flex: 0 0 auto; }
    .mobile-nav summary { gap: 0; padding: 0.55rem; }
    .mobile-nav summary > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
    .home-hero { grid-template-columns: 1fr; min-height: 0; }
    .home-hero-content { padding: 3.25rem 1.25rem; }
    h1 { max-width: 12ch; font-size: clamp(2.8rem, 12vw, 4.2rem); }
    .home-page .home-hero h1 { max-width: none; font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.08; }
    .home-hero-lede { font-size: 1rem; }
    .home-hero-actions { width: 100%; flex-direction: column; align-items: stretch; }
    .home-action { width: 100%; }
    .home-hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
    .home-hero-photo img { object-position: 36% center; }
    .home-service-grid { grid-template-columns: 1fr; }
    .home-service-image { aspect-ratio: 16 / 10; }
    .home-story-inner { width: min(100% - 2rem, 1500px); }
    .home-story-figure { padding: 0.5rem; }
    .home-story-image-scroll { overflow-x: auto; overscroll-behavior-inline: contain; }
    .home-story-image-scroll img { width: 720px; max-width: none; }
    .home-story-scroll-hint { display: block; margin: 0.65rem 0 0; color: #68776c; font-size: 0.75rem; text-align: center; }
    .home-benefits-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-benefit { justify-content: flex-start; padding: 0.65rem 0.4rem; }
    .home-benefit + .home-benefit { border-left: 0; }
    .home-apps { grid-template-columns: 1fr; gap: 1.4rem; padding: 2.3rem 1.25rem; }
    .home-access-options { justify-self: stretch; }
    .home-mobile-status { min-width: 0; }
    .work-grid { grid-template-columns: 1fr; }
    .page-hero { padding-block: 3.3rem 1.5rem; }
    .page-hero h1 { font-size: clamp(2.65rem, 11vw, 3.8rem); }
    .work-card { min-height: 0; }
    .work-card .card-index { margin-bottom: 1.5rem; }
    .section-wrap { width: min(100% - 2rem, 1180px); }
    .hardware-group summary { font-size: 1.05rem; }
    .integration-grid, .application-access-grid { grid-template-columns: 1fr; }
    .integration-card { min-height: 0; }
    .aws-page-links { align-items: stretch; flex-direction: column; }
    .aws-page-links .button { width: 100%; }
    .aws-flow-diagram { grid-template-columns: 1fr; gap: 0.65rem; }
    .aws-flow-node { min-height: 0; grid-template-columns: auto 1fr; justify-items: start; gap: 0.2rem 0.8rem; padding: 1rem; text-align: left; }
    .aws-flow-symbol { grid-row: span 2; margin-right: 0.2rem; }
    .aws-flow-label, .aws-flow-detail { max-width: none; }
    .aws-flow-arrow { transform: rotate(90deg); justify-self: center; line-height: 1; }
    .aws-outcomes-grid, .aws-option-cards, .aws-prerequisites-grid { grid-template-columns: 1fr; }
    .aws-option-card { min-height: 230px; }
    .aws-method-heading { grid-template-columns: 1fr; gap: 0.8rem; }
    .aws-method-number { width: 2.5rem; height: 2.5rem; }
    .application-access-card { min-height: 130px; padding: 1.1rem; }
    .application-access-copy strong { font-size: 1.12rem; }
    .hardware-device { grid-template-columns: 1fr 1fr; }
    .hardware-device > :first-child { grid-column: 1 / -1; }
    .device-notes { grid-column: 1 / -1; }
    .closing-inner { align-items: flex-start; flex-direction: column; }
    .contact-aside { display: block; }
    .aside-image { height: 220px; min-height: 0; }
    .contact-form { padding: 1rem; }
    .form-grid { grid-template-columns: 1fr; }
    .form-field-wide { grid-column: auto; }
    .site-footer { grid-template-columns: 1fr; padding-block: 2rem; }
    .site-footer nav { flex-wrap: wrap; }
    .site-footer .copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}

.what-hero { display: grid; width: min(100% - 3rem, 1280px); min-width: 0; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); margin: 0 auto; padding-block: clamp(3rem, 5vw, 4.5rem); }
.what-hero-copy { max-width: 590px; }
.what-hero-copy h1 { max-width: 16ch; color: var(--forest-deep); font-size: clamp(2.5rem, 4vw, 3.75rem); line-height: 1.05; }
.what-hero-copy > p:not(.eyebrow) { max-width: 38rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.what-hero-action { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 0.65rem; margin-top: 0.7rem; padding: 0.75rem 1.2rem; border-radius: 999px; color: white; background: var(--forest); font-weight: 750; text-decoration: none; transition: background-color 160ms ease, transform 160ms ease; }
.what-hero-action:hover { background: var(--forest-deep); transform: translateY(-2px); }
.what-hero-image { width: 100%; min-width: 0; min-height: 0; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border-radius: 1.2rem; background: var(--ivory); }
.what-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.what-services { padding: clamp(4rem, 8vw, 7rem) 1.5rem; background: var(--ivory); }
.what-content, .what-dashboard-content, .what-connect-inner { width: min(100%, 1280px); margin-inline: auto; }
.what-section-heading { max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.what-section-heading h2, .dashboard-showcase-copy h2 { color: var(--forest-deep); font-size: clamp(2rem, 4vw, 3rem); }
.what-section-heading > p:last-child { color: var(--muted); }
.what-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.what-service-card { --service-accent: var(--forest); display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #173e2718; border-radius: 0.9rem; background: white; box-shadow: 0 10px 30px #183d2810; }
.what-service-card > img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #e6e9e3; }
.what-service-card-copy { flex: 1; padding: clamp(1.2rem, 2vw, 1.65rem); border-top: 3px solid var(--service-accent); }
.what-service-card h3 { margin: 0 0 0.65rem; color: var(--forest-deep); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.25; }
.what-service-card p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.65; }
.what-service-mark { display: block; width: 2rem; height: 0.28rem; margin-bottom: 0.85rem; border-radius: 1rem; background: var(--service-accent); }
.service-accent-green { --service-accent: #39724a; }
.service-accent-blue { --service-accent: #315f8b; }
.service-accent-aqua { --service-accent: #328a86; }
.service-accent-amber { --service-accent: #bd8542; }
.service-accent-orange { --service-accent: #bd7540; }
.service-accent-purple { --service-accent: #70549a; }
.service-accent-sky { --service-accent: #498bb0; }
.service-accent-red { --service-accent: #a8544b; }
.service-accent-lime { --service-accent: #71883d; }
.service-accent-indigo { --service-accent: #555c9c; }
.service-accent-gold { --service-accent: #ae8731; }
.service-accent-forest { --service-accent: #315d40; }
.dashboard-showcase { padding: clamp(4rem, 8vw, 7rem) 1.5rem; }
.dashboard-showcase-inner { display: grid; width: min(100%, 1280px); grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 1.5rem 3rem; align-items: center; margin-inline: auto; }
.dashboard-showcase-copy { max-width: 540px; }
.dashboard-showcase-copy > p:not(.eyebrow) { color: var(--muted); }
.dashboard-showcase-copy .dashboard-caveat { font-size: 0.83rem; }
.dashboard-figure { min-width: 0; margin: 0; }
.dashboard-figure img { display: block; width: 100%; height: auto; border-radius: 1rem; }
.dashboard-figure figcaption { margin-top: 0.65rem; color: var(--muted); font-size: 0.75rem; text-align: right; }
.dashboard-metrics { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 0.6rem; }
.dashboard-metrics span { padding: 0.5rem 0.8rem; border: 1px solid #315d4020; border-radius: 999px; color: #395644; background: var(--ivory); font-size: 0.77rem; }
.what-connect-section { padding: clamp(4rem, 8vw, 6rem) 1.5rem; background: var(--ivory); }
.what-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.what-info-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 1.5rem; border: 1px solid #173e2718; border-radius: 0.85rem; background: white; }
.what-info-mark { display: grid; min-width: 2.7rem; min-height: 2.7rem; place-items: center; margin-bottom: 1rem; padding: 0.4rem; border-radius: 0.7rem; color: white; background: var(--forest); font-size: 0.72rem; font-weight: 800; }
.what-info-card h3 { margin-bottom: 0.5rem; color: var(--forest-deep); font-size: 1.3rem; }
.what-info-card p { flex: 1; color: var(--muted); font-size: 0.9rem; }
.what-info-card a { color: var(--forest); font-size: 0.85rem; font-weight: 750; text-underline-offset: 0.25em; }
.what-access-section { padding: clamp(3rem, 6vw, 5rem) 1.5rem; color: white; background: var(--forest-deep); }
.what-access-inner { display: grid; width: min(100%, 1180px); grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.8fr); gap: 3rem; align-items: center; margin-inline: auto; }
.what-access-copy h2 { margin-bottom: 0.6rem; color: white; font-size: clamp(2rem, 4vw, 3rem); }
.what-access-copy > p:not(.eyebrow) { color: #dce6dd; }
.what-access-copy .eyebrow { color: #e5c99f; }
.what-access-copy .what-hero-action { color: var(--forest-deep); background: var(--ivory); }
.what-access-copy .what-hero-action:hover { background: white; }
.what-access-options { display: grid; width: min(100%, 430px); gap: 0.8rem; justify-self: end; }
.what-qr-link { display: flex; min-width: 0; align-items: center; gap: 1rem; padding: 0.75rem; border-radius: 0.9rem; color: var(--forest-deep); background: var(--ivory); font-size: 0.9rem; font-weight: 750; line-height: 1.45; text-decoration: none; }
.what-qr-link img { display: block; width: 112px; height: 112px; flex: 0 0 112px; padding: 0.2rem; border-radius: 0.45rem; background: white; }
.what-mobile-status { display: flex; min-width: 0; align-items: center; gap: 0.9rem; padding: 0.8rem 1rem; border: 1px solid #ffffff45; border-radius: 0.85rem; background: #ffffff0d; }
.what-mobile-status-icon { display: grid; width: 2.4rem; height: 2.4rem; flex: 0 0 2.4rem; place-items: center; border-radius: 50%; color: var(--forest-deep); background: #e5c99f; font-size: 0.72rem; font-weight: 800; }
.what-mobile-status strong { color: white; font-size: 0.92rem; }

@media (max-width: 900px) {
    .what-hero { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
    .what-hero-copy h1 { max-width: 15ch; font-size: clamp(2.35rem, 4.7vw, 3rem); }
    .what-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-showcase-inner { grid-template-columns: 1fr; }
    .dashboard-showcase-copy { max-width: 700px; }
    .dashboard-metrics { grid-column: auto; }
    .what-access-inner { grid-template-columns: 1fr; gap: 2rem; }
    .what-access-options { justify-self: start; }
}

@media (max-width: 760px) {
    .what-hero { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .what-hero-copy { max-width: 680px; }
    .what-hero-image { aspect-ratio: 16 / 9; }
}

@media (max-width: 680px) {
    .what-hero { width: min(100% - 2rem, 1280px); grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2.5rem; }
    .what-hero-copy h1 { max-width: 15ch; font-size: clamp(2.35rem, 9vw, 3rem); }
    .what-hero-image { min-height: 0; aspect-ratio: 4 / 3; }
    .what-hero-image img { object-position: center 43%; }
    .what-services, .dashboard-showcase, .what-connect-section, .what-access-section { padding-inline: 1rem; }
    .what-service-grid { grid-template-columns: 1fr; gap: 24px; }
    .what-info-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .what-service-card-copy { padding: 1.2rem; }
    .dashboard-figure figcaption { text-align: left; }
    .what-qr-link { gap: 0.7rem; font-size: 0.82rem; }
    .what-qr-link img { width: 90px; height: 90px; flex-basis: 90px; }
}

.device-showcase-section { padding: clamp(4rem, 8vw, 7rem) 1.5rem; background: var(--ivory); }
.device-showcase-section .device-showcase-wrap { width: min(100% - 3rem, 1280px); margin-inline: auto; }
.device-showcase-section .device-showcase-heading { max-width: 850px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.device-showcase-section .device-showcase-heading h2 { color: var(--forest-deep); font-size: clamp(2rem, 4vw, 3rem); }
.device-showcase-section .device-showcase-heading > p:last-child { color: var(--muted); }
.device-showcase-section .device-status-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.device-showcase-section .device-status-definition { min-width: 0; padding: 1.1rem; border: 1px solid var(--line); border-radius: 0.8rem; background: white; }
.device-showcase-section .device-status-definition p { margin: 0.65rem 0 0; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.device-showcase-section .device-status-pill { display: inline-flex; width: fit-content; min-height: 1.8rem; align-items: center; padding: 0.34rem 0.68rem; border-radius: 999px; font-size: 0.73rem; font-weight: 750; line-height: 1.25; }
.device-showcase-section .status-integrated { color: #245b34; background: #e5f1e6; }
.device-showcase-section .status-testing { color: #754d0a; background: #fff0d2; }
.device-showcase-section .status-planned { color: #2b5276; background: #e8f0f7; }
.device-showcase-section .device-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 28px; }
.device-showcase-section .device-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-top: 4px solid transparent; border-radius: 0.9rem; background: white; box-shadow: 0 0.6rem 1.8rem #162d230d; }
.device-showcase-section .device-card-featured { border-top-color: #477b55; }
.device-showcase-section .device-photo-area { display: flex; min-width: 0; aspect-ratio: 16 / 10; align-items: center; justify-content: center; gap: 0.65rem; padding: 0.75rem; border-bottom: 1px solid var(--line); background: white; }
.device-showcase-section .device-photo-area img { display: block; width: 100%; height: 100%; min-width: 0; object-fit: contain; object-position: center; }
.device-showcase-section .device-photo-area-paired img { width: calc(50% - 0.325rem); flex: 0 1 calc(50% - 0.325rem); }
.device-showcase-section .device-photo-placeholder { display: flex; min-width: 0; aspect-ratio: 16 / 10; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; padding: 1rem; border-bottom: 1px solid var(--line); color: #4c5c50; background: linear-gradient(145deg, #f5f3ed, #e7ece6); text-align: center; }
.device-showcase-section .device-photo-placeholder > span:first-child { margin-bottom: 0.35rem; color: #6b756d; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.device-showcase-section .device-photo-placeholder strong { color: var(--forest-deep); font-size: 0.95rem; }
.device-showcase-section .device-photo-placeholder > span:last-child { max-width: 100%; overflow-wrap: anywhere; font-size: 0.82rem; }
.device-showcase-section .device-card-body { display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: flex-start; padding: 1.3rem; }
.device-showcase-section .device-manufacturer { margin: 0 0 0.2rem; color: #6a796e; font-size: 0.73rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.device-showcase-section .device-card h3 { margin: 0 0 0.7rem; color: var(--forest-deep); font-size: 1.3rem; line-height: 1.25; overflow-wrap: anywhere; }
.device-showcase-section .device-application { margin: 0 0 0.75rem; color: #4f654f; font-size: 0.8rem; font-weight: 750; }
.device-showcase-section .device-description { margin: 0 0 0.8rem; color: #58675c; font-size: 0.88rem; line-height: 1.6; }
.device-showcase-section .device-limitation { margin: 0 0 0.9rem; padding: 0.7rem 0.8rem; border-left: 3px solid #bd8542; border-radius: 0 0.45rem 0.45rem 0; color: #5e513e; background: #fbf5e9; font-size: 0.8rem; line-height: 1.55; }
.device-showcase-section .device-card-body > .device-status-pill { margin-top: auto; }
.device-showcase-section .device-compatibility-disclaimer { margin: 2rem 0 0; padding: 1rem 1.2rem; border-left: 3px solid var(--forest); border-radius: 0 0.6rem 0.6rem 0; color: #49584e; background: white; font-size: 0.85rem; line-height: 1.6; }
.device-showcase-section .device-showcase-footnote { margin: 1rem 0 0; color: var(--muted); font-size: 0.76rem; }

@media (max-width: 900px) {
    .device-showcase-section .device-status-legend,
    .device-showcase-section .device-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .device-showcase-section { padding-inline: 1rem; }
    .device-showcase-section .device-showcase-wrap { width: 100%; }
    .device-showcase-section .device-status-legend,
    .device-showcase-section .device-card-grid { grid-template-columns: 1fr; gap: 1rem; }
}
