:root {
    color-scheme: light;
    --ink: #15241f;
    --muted: #66736e;
    --line: #dce3df;
    --surface: #ffffff;
    --soft: #f3f6f4;
    --accent: #087d66;
    --accent-dark: #075f50;
    --signal: #2ca66f;
    --display: Georgia, "Times New Roman", serif;
    --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
    min-width: 18rem;
    margin: 0;
    background:
        radial-gradient(circle at 85% 5%, rgb(8 125 102 / 9%), transparent 31rem),
        linear-gradient(180deg, #f8faf9 0, #edf2ef 100%);
    color: var(--ink);
    font-family: var(--body);
}

main {
    width: min(76rem, calc(100% - 2rem));
    min-height: calc(100vh - 5rem);
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 4.5rem) 0 3rem;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #102d26 0%, #123d33 58%, #0a6554 100%);
    box-shadow: 0 1.5rem 4rem rgb(24 52 43 / 14%);
    color: #fff;
}

.hero::after {
    position: absolute;
    right: -7rem;
    bottom: -12rem;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 50%;
    box-shadow: 0 0 0 4rem rgb(255 255 255 / 3%), 0 0 0 8rem rgb(255 255 255 / 2%);
    content: "";
}

.brand {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    width: fit-content;
    color: inherit;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    background: rgb(255 255 255 / 13%);
    font: 700 1rem var(--display);
}

.hero-copy { position: relative; z-index: 1; max-width: 46rem; }
.eyebrow { margin: 0 0 0.75rem; color: #79d8bd; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2 { font-family: var(--display); font-weight: 500; }
h1 { max-width: 12ch; margin: 0; font-size: clamp(3rem, 8vw, 6.5rem); line-height: 0.9; letter-spacing: -0.045em; }
.introduction { max-width: 43rem; margin: 1.5rem 0 0; color: rgb(255 255 255 / 72%); font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.7; }

.health {
    position: relative;
    z-index: 1;
    align-self: end;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 12rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 1rem;
    background: rgb(255 255 255 / 8%);
    backdrop-filter: blur(0.5rem);
}

.health-dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: #efb64b; box-shadow: 0 0 0 0.35rem rgb(239 182 75 / 15%); }
.health.operational .health-dot { background: #71df9f; box-shadow: 0 0 0 0.35rem rgb(113 223 159 / 15%); }
.health.unavailable .health-dot { background: #f36d6d; box-shadow: 0 0 0 0.35rem rgb(243 109 109 / 15%); }
.health small, .health strong { display: block; }
.health small { margin-bottom: 0.15rem; color: rgb(255 255 255 / 58%); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
.health strong { font-size: 0.95rem; }

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: var(--surface);
}

.metrics article { min-width: 0; padding: 1.5rem; border-right: 1px solid var(--line); }
.metrics article:last-child { border-right: 0; }
.metric-label, .metrics strong, .metrics small { display: block; }
.metric-label { margin-bottom: 1rem; color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.metrics strong { overflow: hidden; font: 500 clamp(1.7rem, 4vw, 2.4rem)/1 var(--display); text-overflow: ellipsis; white-space: nowrap; }
.metrics small { margin-top: 0.65rem; color: var(--muted); font-size: 0.72rem; }

.details { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; margin-top: 1rem; }
.panel { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 1.25rem; background: var(--surface); }
.panel .eyebrow { color: var(--accent); }
.panel h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; }
.capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.capabilities div { padding-top: 1rem; border-top: 1px solid var(--line); }
.capabilities strong, .capabilities span { display: block; }
.capabilities strong { font: 500 1.75rem var(--display); }
.capabilities span { margin-top: 0.3rem; color: var(--muted); font-size: 0.78rem; }

dl { margin: 1.5rem 0 0; }
dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
dl div:last-child { border-bottom: 0; }
dt { color: var(--muted); font-size: 0.78rem; }
dd { margin: 0; font-size: 0.78rem; font-weight: 700; text-align: right; }
a { color: var(--accent-dark); text-underline-offset: 0.18em; }

.notice { display: flex; align-items: flex-start; gap: 0.85rem; margin-top: 1rem; padding: 1.2rem 1.4rem; border: 1px solid #cae0d9; border-radius: 1rem; background: #eff8f4; color: #31584d; }
.notice > span { display: grid; flex: 0 0 auto; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--accent); color: #fff; font: 700 0.8rem var(--display); }
.notice p { margin: 0; font-size: 0.8rem; line-height: 1.6; }

footer { display: flex; justify-content: space-between; gap: 1rem; width: min(76rem, calc(100% - 2rem)); margin: 0 auto; padding: 0 0 2rem; color: var(--muted); font-size: 0.72rem; }
footer span:first-child { color: var(--ink); font-weight: 800; }

@media (max-width: 760px) {
    .hero { grid-template-columns: 1fr; }
    .health { justify-self: stretch; }
    .metrics { grid-template-columns: 1fr 1fr; }
    .metrics article:nth-child(2) { border-right: 0; }
    .metrics article:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .details { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
    main { width: min(100% - 1rem, 76rem); padding-top: 0.5rem; }
    .hero { padding: 1.25rem; border-radius: 1rem; }
    h1 { font-size: 3rem; }
    .metrics { grid-template-columns: 1fr; }
    .metrics article { border-right: 0; border-bottom: 1px solid var(--line); }
    .metrics article:last-child { border-bottom: 0; }
    .capabilities { grid-template-columns: 1fr; gap: 0.75rem; }
    footer { display: grid; width: calc(100% - 2rem); }
}

@media (prefers-reduced-motion: no-preference) {
    .health.operational .health-dot { animation: pulse 2.2s infinite; }
    @keyframes pulse { 50% { box-shadow: 0 0 0 0.65rem rgb(113 223 159 / 0%); } }
}
