:root {
  color-scheme: dark;
  --navy: #131b25;
  --bg: #131b25;
  --bg-2: #1c2434;
  --panel: #1c2434;
  --brand: #3bd671;
  --pop: #63e552;
  --text: #e6eaeb;
  --line: #2d3340;
  --on-brand: #131b25;
  --soft-brand: rgba(59, 214, 113, 0.11);
  --muted: rgba(230, 234, 235, 0.72);
  --warn: #d4b46a;
  --shell: 1152px;
  --radius: 6px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font: 400 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-underline-offset: 0.22em; }
a:hover { color: var(--text); }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.shell { width: min(calc(100% - 24px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 12px 16px; color: var(--on-brand); background: var(--text); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(19, 27, 37, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 730;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand b { color: var(--brand); font-weight: inherit; }
.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2px 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.primary-nav a {
  position: relative;
  display: block;
  padding: 19px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a[aria-current="page"] { color: var(--brand); }
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}
.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 8vw, 104px) 0 clamp(38px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 35%, rgba(59, 214, 113, 0.08), transparent 400px),
    linear-gradient(145deg, var(--bg), var(--bg-2));
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent, #000 50%);
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.page-hero h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 6.5vw, 96px);
  font-weight: 680;
  line-height: 0.98;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}
.page-hero h1 span { color: var(--brand); }
.lead {
  max-width: 736px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}
.button--primary {
  color: var(--on-brand);
  background: var(--brand);
  box-shadow: 0 11px 32px rgba(59, 214, 113, 0.14);
}
.button--ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.section { padding: clamp(42px, 7vw, 88px) 0; }
.section--panel {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}
.section h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(26px, 3vw, 45px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.section h3 {
  margin: 0 0 11px;
  color: var(--text);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.section p, .section li { color: var(--muted); }
main p a, .feature-card a { color: var(--brand); font-weight: 700; }
.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
}
.feature-card {
  min-width: 0;
  padding: clamp(19px, 3vw, 32px);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.feature-card::before {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin-bottom: 19px;
  background: var(--brand);
}
.stack { display: grid; gap: 16px; max-width: 736px; }
.stack ul { margin: 0; padding-left: 18px; }
.cta-band {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}
.cta-band .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 19px;
}

.form {
  position: relative;
  display: grid;
  gap: 14px;
  max-width: 576px;
}
.form label {
  display: grid;
  gap: 5px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}
.form input, .form textarea {
  width: 100%;
  max-width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
}
.form button {
  justify-self: start;
  min-height: 48px;
  padding: 11px 19px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 750;
  cursor: pointer;
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.fine { font-size: 13px; }
.notice { padding: 40px 0; }
.form-alert {
  display: none;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.form-alert.is-visible { display: block; }
.form-alert--ok { border-color: var(--brand); color: var(--text); }
.form-alert--err { border-color: var(--warn); color: var(--text); }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 38px 0 22px;
}
.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  color: var(--muted);
}
.footer-brand img { width: 256px; height: 256px; }
.footer-brand strong { color: var(--text); }
.site-footer h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--text); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 29px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1024px) {
  .menu-toggle { display: grid; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 10px 0 16px;
    border-bottom: 1px solid var(--line);
    background: var(--navy);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul {
    display: grid;
    gap: 0;
    justify-content: stretch;
  }
  .primary-nav a { padding: 14px 0; white-space: normal; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 384px) {
  .shell { width: min(calc(100% - 20px), var(--shell)); }
  .brand span { max-width: 152px; line-height: 1.2; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Scrollbars: navy track, map-marker green thumb */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--pop) var(--navy, var(--bg));
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--pop) var(--navy, var(--bg));
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-corner {
  background: var(--navy, var(--bg));
}
*::-webkit-scrollbar-thumb {
  background: var(--pop);
  border: 2px solid var(--navy, var(--bg));
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

.site-status-live {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.site-status-live__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 6px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.site-status-live__link:hover { color: #fff; }
.site-status-live__dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: var(--line);
}
.site-status-live.is-up .site-status-live__dot { background: var(--pop); }
.site-status-live.is-down .site-status-live__dot { background: #df484a; }
.site-status-live.is-pending .site-status-live__dot { background: #fac800; }
.site-status-live.is-unknown .site-status-live__dot { background: var(--line); }
.site-status-live__hl { color: var(--pop); }
.site-status-live.is-down .site-status-live__text { color: #df484a; }
@media print { .site-status-live { display: none; } }

/* --- contact form --- */
.cf-wrap {
  margin: 36px 0 12px;
  max-width: 820px;
}
.cf-note {
  margin: 0 0 20px;
  padding: 18px 20px;
  border: 1px solid #2d3340;
  border-left: 4px solid #3bd671;
  background: #17202c;
}
.cf-note-title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.cf-note p {
  margin: 0;
  color: #e6eaeb;
  font-size: 15px;
  line-height: 22px;
}
.cf-card {
  position: relative;
  margin: 0;
  padding: 28px;
  border: 1px solid #2d3340;
  background: #1c2434;
}
.cf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 20px;
}
.cf-field {
  margin: 0;
}
.cf-field label {
  display: block;
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}
.cf-hint {
  color: #9aa6b2;
  font-size: 13px;
  font-weight: 400;
}
.cf-field input,
.cf-field textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #3a4454;
  background: #131b25;
  color: #e6eaeb;
  font-size: 16px;
  line-height: 22px;
  padding: 12px 14px;
}
.cf-field input {
  height: 48px;
}
.cf-field textarea {
  min-height: 180px;
  resize: vertical;
}
.cf-field input:focus,
.cf-field textarea:focus {
  outline: 2px solid #3bd671;
  outline-offset: 1px;
  border-color: #3bd671;
}
.cf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 22px;
}
.cf-submit {
  height: 48px;
  padding: 0 22px;
  border: 0;
  background: #3bd671;
  color: #131b25;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.cf-submit:hover {
  background: #2fbf64;
}
.cf-fine {
  margin: 0;
  color: #9aa6b2;
  font-size: 13px;
  line-height: 18px;
  max-width: 420px;
}
.cf-alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 22px;
}
.cf-alert--ok {
  border: 1px solid #3bd671;
  background: #163224;
  color: #d7ffe6;
}
.cf-alert--error {
  border: 1px solid #c1121f;
  background: #3a1518;
  color: #ffd6d6;
}
.cf-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (min-width: 700px) {
  .cf-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cf-field--full {
    grid-column: 1 / -1;
  }
  .cf-card {
    padding: 32px;
  }
}
