:root {
  color: #f0eadf;
  background: #0a0908;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { min-width: 19rem; }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(240, 234, 223, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 234, 223, .035) 1px, transparent 1px),
    #0a0908;
  background-size: 3rem 3rem;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: .3;
  background: repeating-linear-gradient(118deg, transparent 0 12px, rgba(215, 35, 35, .12) 12px 13px);
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

a { color: inherit; }

a:focus-visible {
  outline: 2px solid #ed3131;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  color: #0a0908;
  background: #f0eadf;
  transform: translateY(-180%);
}

.skip-link:focus { transform: none; }

.frame {
  position: fixed;
  inset: 1.1rem;
  z-index: -1;
  border: 1px solid rgba(240, 234, 223, .16);
  pointer-events: none;
}

.masthead,
main,
footer {
  width: min(78rem, calc(100% - 4rem));
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 7rem;
  border-bottom: 1px solid rgba(240, 234, 223, .22);
}

.brand { text-decoration: none; }
.brand span { display: block; font: 900 1.55rem/1 var(--hub-font-display, Arial, sans-serif); font-stretch: 125%; font-variation-settings: "wght" 900, "wdth" 125, "MIXD" 100; letter-spacing: 0; }
.brand small { display: block; margin-top: .25rem; color: #a9a39a; font-size: .58rem; letter-spacing: .2em; }

.telemetry {
  margin: 0;
  color: #bdb6aa;
  font-size: .7rem;
  letter-spacing: .14em;
}

.pulse,
.status-mark {
  display: inline-block;
  width: .48rem;
  height: .48rem;
  margin-right: .6rem;
  border-radius: 50%;
  background: #ed3131;
  box-shadow: 0 0 0 .25rem rgba(237, 49, 49, .12);
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(17rem, .75fr);
  gap: 0 5rem;
}

.hero {
  grid-row: span 2;
  min-height: 38rem;
  padding: clamp(5rem, 10vw, 9rem) 0 5rem;
}

.eyebrow,
.section-label,
footer {
  color: #a9a39a;
  font-size: .65rem;
  letter-spacing: .17em;
}

h1 {
  position: relative;
  width: min-content;
  margin: 1.2rem 0 2rem;
  color: #f0eadf;
  font: 900 clamp(4rem, 9vw, 8.4rem)/.78 var(--hub-font-display, Arial, sans-serif);
  font-stretch: 115%;
  font-variation-settings: "wght" 900, "wdth" 115, "MIXD" 100;
  letter-spacing: 0;
}

h1::after {
  position: absolute;
  right: -.035em;
  bottom: -.05em;
  z-index: -1;
  content: attr(data-echo);
  color: #ed3131;
  clip-path: inset(72% 0 8% 0);
  transform: translate(.055em, .035em);
}

.lede {
  max-width: 34rem;
  color: #bdb6aa;
  font: 1rem/1.75 system-ui, sans-serif;
}

.primary {
  display: inline-flex;
  gap: 2.5rem;
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  border: 1px solid #ed3131;
  color: #f0eadf;
  background: #991d1d;
  font-size: .72rem;
  letter-spacing: .12em;
  text-decoration: none;
}

.primary:hover { background: #b82424; }

.status,
.endpoints,
.providers { padding-top: 3.2rem; }

.section-label {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(240, 234, 223, .22);
}

.section-label span { color: #ed3131; }
.section-label h2 { margin: 0; color: #f0eadf; font-family: var(--hub-font-display, inherit); font-stretch: 125%; font-variation-settings: "wght" 600, "wdth" 125, "MIXD" 100; font-weight: 600; }

dl { margin: 0; }
dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(240, 234, 223, .09); }
dt { color: #8f8980; }
dd { margin: 0; text-align: right; }
.status-mark { width: .4rem; height: .4rem; margin-right: .45rem; box-shadow: none; }
.status > p { color: #817b73; font-size: .72rem; line-height: 1.55; }
.providers { padding-bottom: 3rem; }
.providers > p { color: #817b73; font-size: .72rem; line-height: 1.55; }

.endpoints { padding-bottom: 3rem; }
.endpoints ul { margin: 0; padding: 0; list-style: none; }
.endpoints a,
.endpoints li > div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(240, 234, 223, .09); text-decoration: none; }
.endpoints a:hover code { color: #ed3131; }
.endpoints code { color: #f0eadf; font: inherit; }
.endpoints li span { color: #817b73; font-size: .68rem; text-align: right; text-transform: uppercase; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0 2.5rem;
  border-top: 1px solid rgba(240, 234, 223, .22);
}

footer p { margin: 0; }
footer span { color: #ed3131; }

@media (max-width: 52rem) {
  .masthead, main, footer { width: min(100% - 3rem, 42rem); }
  main { display: block; }
  .hero { min-height: auto; padding-block: 5rem 4rem; }
  h1 { font-size: clamp(3.6rem, 18vw, 6rem); }
  .status, .endpoints, .providers { padding-top: 2rem; }
  footer { margin-top: 2rem; }
}

@media (max-width: 30rem) {
  .masthead, main, footer { width: calc(100% - 2.5rem); }
  .frame { inset: .6rem; }
  .masthead { min-height: 5.5rem; }
  .telemetry { font-size: .6rem; }
  .hero { padding-top: 4rem; }
  footer { display: block; line-height: 1.7; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
