:root {
  color-scheme: light;
  --page: #f7f5f1;
  --surface: #fff;
  --hero: #f4f2ed;
  --text: #10252b;
  --muted: #40575e;
  --accent: #00676b;
  --control: #ecebe6;
  --control-hover: #e3e4df;
  --contact: #e6f1ee;
  --tile: #dff3ef;
  --action: #00686b;
  --action-hover: #005457;
  --action-text: #fff;
  --signal: #ad4d00;
  --shadow: 0 12px 36px #2837320e;
  --card-shadow: 0 4px 20px #2837320b;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #11151d;
    --surface: #1a212c;
    --hero: #171d28;
    --text: #eff9f8;
    --muted: #acc4c8;
    --accent: #77dfd6;
    --control: #283b43;
    --control-hover: #324b52;
    --contact: #193239;
    --tile: #bce6df;
    --action: #79e0d5;
    --action-hover: #9aece3;
    --action-text: #0a2427;
    --signal: #ffae53;
    --shadow: 0 12px 36px #0003;
    --card-shadow: 0 4px 20px #0002;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #11151d;
  --surface: #1a212c;
  --hero: #171d28;
  --text: #eff9f8;
  --muted: #acc4c8;
  --accent: #77dfd6;
  --control: #283b43;
  --control-hover: #324b52;
  --contact: #193239;
  --tile: #bce6df;
  --action: #79e0d5;
  --action-hover: #9aece3;
  --action-text: #0a2427;
  --signal: #ffae53;
  --shadow: 0 12px 36px #0003;
  --card-shadow: 0 4px 20px #0002;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--text); background: var(--page); line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
.skip { position: absolute; top: .75rem; left: .75rem; z-index: 3; padding: .65rem 1rem; background: var(--surface); transform: translateY(-200%); }
.skip:focus { transform: none; }
.shell { width: min(calc(100% - 3rem), 82rem); margin-inline: auto; }
.site-header { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: block; flex: 0 1 auto; width: 13.9rem; padding: .48rem .6rem; background: #081923; border-radius: .55rem; }
.brand img { width: 100%; height: auto; }
.header-controls, .header-controls nav, .actions { display: flex; align-items: center; gap: .75rem; }
.header-controls nav { gap: 1.35rem; }
.site-header a, .site-footer a { text-decoration: none; }
.header-controls nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.header-contact, .icon-button { min-height: 2.75rem; display: inline-flex; justify-content: center; align-items: center; border-radius: .55rem; }
.header-contact { padding-inline: .95rem; background: var(--control); }
.icon-button { background: var(--control); border: 0; width: 2.75rem; padding: 0; cursor: pointer; }
.icon-button:hover, .header-contact:hover, .secondary:hover { background: var(--control-hover); }
:root[data-theme="dark"] .icon-button img { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-button img { filter: brightness(0) invert(1); }
}
.menu-button, .theme-button .sun, .theme-button[aria-pressed="true"] .moon { display: none; }
.theme-button[aria-pressed="true"] .sun { display: block; }
.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  background: linear-gradient(115deg, var(--surface), var(--hero));
  border-radius: 1.35rem;
  box-shadow: var(--shadow);
}
.hero-copy { z-index: 1; padding: clamp(1.5rem, 5vw, 4.5rem); padding-right: .75rem; }
.status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--contact);
  color: var(--accent);
  border-radius: 2rem;
  padding: .33rem .75rem;
  margin: 0 0 1.3rem;
  font-size: .875rem;
  font-weight: 650;
}
.status span { width: .48rem; height: .48rem; background: var(--signal); border-radius: 50%; }
.hostname {
  color: var(--accent);
  font-size: 24px;
  overflow-wrap: anywhere;
  font-weight: 650;
  letter-spacing: -.012em;
  line-height: 1.25;
  margin: 0 0 .9rem;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 42px; font-weight: 650; line-height: 1.1; letter-spacing: -.023em; margin-bottom: 1.25rem; }
.intro { max-width: 34ch; color: var(--muted); margin-bottom: 1.8rem; font-size: clamp(1rem, 1.35vw, 1.13rem); }
.actions { flex-wrap: wrap; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: .65rem 1rem;
  border-radius: .55rem;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.primary { background: var(--action); color: var(--action-text); }
.primary:hover { background: var(--action-hover); }
.secondary { background: var(--control); }
.network {
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 0;
  background: radial-gradient(ellipse at 53% 52%, #187a76 0, #0a323b 43%, #0a1b26 76%);
  overflow: hidden;
}
.network img { width: 100%; height: auto; animation: drift 4.8s ease-in-out 1 both; }
@keyframes drift { 0% { transform: translateY(6px); opacity: .65; } 65% { transform: translateY(-5px); } 100% { transform: translateY(0); opacity: 1; } }
.services { margin-block: clamp(2.5rem, 5vw, 4.6rem); }
h2 { font-size: 28px; font-weight: 650; line-height: 1.2; letter-spacing: -.018em; margin-bottom: .65rem; }
.services-intro { max-width: 55ch; margin-bottom: 1.65rem; color: var(--muted); }
.service-grid { display: grid; grid-auto-rows: 1fr; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; padding: 0; margin: 0; list-style: none; }
.service-card { padding: clamp(1.2rem, 2.2vw, 1.75rem); border-radius: 1.125rem; background: var(--surface); box-shadow: var(--card-shadow); transition: transform .18s, box-shadow .18s; }
@media (hover: hover) { .service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); } }
.service-icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: var(--tile); border-radius: .65rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.125rem; font-weight: 650; line-height: 1.35; letter-spacing: normal; margin-bottom: .5rem; overflow-wrap: anywhere; }
.service-card p, .contact p { color: var(--muted); margin-bottom: 0; }
.contact { display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; margin-bottom: 2.25rem; padding: clamp(1.25rem, 4vw, 2.8rem); background: var(--contact); border-radius: 1.125rem; }
.contact h2 { font-size: 26px; margin-bottom: .55rem; }
.contact p { max-width: 60ch; }
.contact .button { flex: none; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 1.2rem; padding-block: 1.3rem 1.75rem; color: var(--muted); font-size: .875rem; }
.footer-brand { width: 10rem; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .65rem 1rem; }

@media (max-width: 63rem) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desktop-break { display: none; }
}
@media (max-width: 44rem) {
  h1 { font-size: 30px; }
  .hostname { font-size: 20px; }
  h2 { font-size: 24px; }
  .contact h2 { font-size: 22px; }
  .shell { width: calc(100% - 2rem); }
  .site-header { min-height: 4.5rem; flex-wrap: wrap; gap: .5rem; padding-block: .65rem; }
  .site-header .brand { width: min(12rem, 50vw); }
  .header-controls { flex-wrap: wrap; }
  .header-controls nav { gap: .75rem; }
  .has-menu { position: relative; }
  .has-menu .menu-button { display: inline-flex; }
  .has-menu nav { position: absolute; z-index: 2; inset: calc(100% + .35rem) 0 auto auto; background: var(--surface); box-shadow: var(--shadow); border-radius: .7rem; padding: .55rem .8rem; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 1.5rem; }
  .network img { width: min(100%, 24rem); margin-block: -5%; }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .contact { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .service-card:hover { transform: none; }
}
