:root {
  color-scheme: dark;
  --bg: #030303;
  --ink: #c6c6c6;
  --muted: #8a8a8a;
  --faint: #626262;
  --line: rgba(198, 198, 198, 0.085);
  --line-strong: rgba(198, 198, 198, 0.145);
  --panel: rgba(198, 198, 198, 0.016);
  font-family:
    "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(145deg, #020202 0%, #050505 58%, #0d0d0d 100%),
    var(--bg);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.55;
}

body::before {
  content: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
  color: var(--muted);
}

.brand,
nav,
footer {
  display: flex;
  align-items: center;
}

.brand {
  color: var(--ink);
}

nav {
  gap: 16px;
}

nav a,
footer a,
.button {
  color: var(--muted);
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

nav a:hover,
footer a:hover,
.button:hover {
  color: var(--ink);
}

.hero {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0 38px;
}

.rule {
  height: 1px;
  background: var(--line-strong);
}

.hero-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 54px;
  padding: 34px 0;
}

.label,
.section-head span,
.matrix span,
.stack-row span,
.credential-grid span {
  margin: 0;
  color: var(--faint);
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
}

p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.matrix div {
  min-height: 118px;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.matrix strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
}

.section {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 0;
}

.section-head {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 54px;
  margin-bottom: 20px;
}

.stack-table {
  border-top: 1px solid var(--line-strong);
}

.stack-row {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 54px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.stack-row p {
  max-width: none;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.credential-grid div {
  min-height: 196px;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--line-strong);
}

.icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.credential-grid p {
  margin-top: 14px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding-bottom: 94px;
}

.contact .section-head {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  white-space: nowrap;
}

.button:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.028);
}

footer {
  justify-content: space-between;
  gap: 18px;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--faint);
}

.clock {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .section-head,
  .stack-row,
  .contact {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .matrix,
  .credential-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 48px;
  }

  .matrix,
  .credential-grid {
    grid-template-columns: 1fr;
  }
}
