:root {
  color-scheme: light;
  --bg: #f6fbf7;
  --surface: #ffffff;
  --surface-soft: #ecf8f2;
  --text: #102019;
  --muted: #4f665d;
  --brand: #0f5c3e;
  --brand-strong: #08442e;
  --brand-soft: #dff5ec;
  --accent: #ff8a13;
  --accent-soft: #fff1df;
  --border: #c8ddd2;
  --danger: #9a3412;
  --shadow: 0 20px 60px rgba(15, 92, 62, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at top left, #d9f4ec 0, transparent 34rem), var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--brand-strong);
  color: white;
  padding: .75rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 251, 247, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 221, 210, .8);
}
.header-inner, .section, .footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 850;
  letter-spacing: -.02em;
}
.brand-link img { width: 52px; height: 52px; border-radius: 50%; }
.nav-toggle {
  display: none;
  min-height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: .55rem .85rem;
  font-weight: 800;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 750;
  border-radius: 999px;
  padding: .55rem .8rem;
}
.site-nav a[aria-current="page"], .site-nav a:hover { background: var(--brand-soft); color: var(--brand-strong); }
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: .75rem 1.1rem;
  background: var(--brand);
  color: white;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.button:hover, button:hover { background: var(--brand-strong); color: white; }
.button.secondary { background: var(--surface); color: var(--brand); border: 1px solid var(--border); }
.button.secondary:hover { background: var(--brand-soft); color: var(--brand-strong); }
.button.warning { background: var(--accent); color: #2a1806; }
button:disabled { opacity: .65; cursor: not-allowed; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.hero-card {
  background: linear-gradient(160deg, var(--brand-soft), #ffffff 70%);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}
.hero-logo { display: block; width: min(420px, 100%); margin: 0 auto; }
.eyebrow {
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .82rem;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -.04em; }
h1 { font-size: clamp(2.4rem, 7vw, 5rem); margin: .2em 0; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 .75rem; }
h3 { font-size: 1.35rem; margin: 0 0 .5rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); max-width: 62ch; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.4rem; }
.section { padding: clamp(2.5rem, 7vw, 5rem) 0; }
.section-header { max-width: 760px; margin-bottom: 1.5rem; }
.grid { display: grid; gap: 1rem; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  box-shadow: 0 12px 35px rgba(16, 32, 25, .06);
}
.card.soft { background: var(--surface-soft); }
.card.warning { background: var(--accent-soft); border-color: #ffd4a1; }
.list { padding-left: 1.1rem; margin: .75rem 0 0; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 999px;
  padding: .35rem .65rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 850;
  font-size: .9rem;
}
.status-pill::before { content: ""; width: .65rem; height: .65rem; border-radius: 50%; background: #13a35b; }
.status-pill.warning { background: var(--accent-soft); color: #6f3900; }
.status-pill.warning::before { background: var(--accent); }
.form-card { max-width: 980px; }
.form-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap: 1rem; }
label, fieldset { display:flex; flex-direction:column; gap:.45rem; margin:.9rem 0; font-weight:750; }
input, textarea, select {
  width: 100%;
  border:1px solid #aac5b8;
  border-radius:14px;
  padding:.85rem .95rem;
  font:inherit;
  color: var(--text);
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
fieldset { border:1px solid var(--border); border-radius:18px; padding:1rem; }
legend { font-weight:900; padding: 0 .35rem; }
.check { flex-direction:row; align-items:flex-start; font-weight:600; }
.check input { width:auto; margin-top:.35rem; min-width: 18px; min-height: 18px; }
.form-help { color: var(--muted); font-size: .95rem; }
.form-status { min-height: 1.5rem; font-weight: 800; }
.form-status.error { color: var(--danger); }
.form-status.success { color: var(--brand-strong); }
.site-footer { border-top:1px solid var(--border); background:#0d2a1d; color:#dff5ec; margin-top:3rem; }
.footer-inner { display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:1.5rem; padding:2rem 0; }
.site-footer a { color:#dff5ec; }
.footer-links { display:flex; flex-direction:column; gap:.4rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.notice { border-left: 5px solid var(--accent); padding: 1rem; background: var(--accent-soft); border-radius: 16px; }
@media (max-width: 920px) {
  .hero, .grid.three, .grid.two, .footer-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 2rem; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 68px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 68px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: .75rem;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 2.2rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .button, button { border: 1px solid ButtonText; }
}

.stack { display: grid; gap: 1rem; }
.stack label { display: grid; gap: .35rem; font-weight: 700; }
.stack input, .stack select, .stack textarea {
  width: 100%;
  border: 1px solid rgba(9, 86, 58, .25);
  border-radius: 14px;
  padding: .85rem 1rem;
  font: inherit;
  background: #fff;
  color: #0b3325;
}
.stack textarea { resize: vertical; }
.form-status[data-type="success"] { color: #0f6a42; font-weight: 700; }
.form-status[data-type="error"] { color: #9a3412; font-weight: 700; }

.status-page .status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.status-hero {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: clamp(1.25rem, 4vw, 2rem);
  margin-top: 2rem;
}

.status-dot {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: .55rem;
  border-radius: 999px;
  background: var(--muted);
  box-shadow: 0 0 0 6px rgba(79, 102, 93, .12);
}

.status-operational { background: #11864c; box-shadow: 0 0 0 6px rgba(17, 134, 76, .15); }
.status-degraded { background: #b7791f; box-shadow: 0 0 0 6px rgba(183, 121, 31, .16); }
.status-incident { background: #b42318; box-shadow: 0 0 0 6px rgba(180, 35, 24, .14); }
.status-maintenance { background: #2563eb; box-shadow: 0 0 0 6px rgba(37, 99, 235, .14); }

.status-sections { align-items: start; }
.status-list {
  display: grid;
  gap: .9rem;
}

.status-row,
.status-event {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-soft);
  padding: 1rem;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.status-row p,
.status-event p { margin: .35rem 0 0; }

.status-event-header {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
}

.status-pill.status-operational { background: #dcfce7; color: #14532d; }
.status-pill.status-degraded { background: #fef3c7; color: #78350f; }
.status-pill.status-incident { background: #fee2e2; color: #7f1d1d; }
.status-pill.status-maintenance { background: #dbeafe; color: #1e3a8a; }

@media (max-width: 720px) {
  .status-hero,
  .status-row,
  .status-event-header {
    display: block;
  }

  .status-dot { margin-bottom: .75rem; }
  .status-row .status-pill,
  .status-event-header .status-pill { margin-top: .75rem; }
}
