:root {
  color-scheme: dark;
  --bg: #060707;
  --panel: rgba(15, 18, 20, 0.86);
  --panel-strong: #111518;
  --line: rgba(222, 229, 232, 0.13);
  --text: #eef2f1;
  --muted: #9ca7a9;
  --soft: #c8ced0;
  --cyan: #11DDF2;
  --cyan-dark: #00AFC4;
  --cyan-soft: #B8F7FF;
  --amber: #f4c35c;
  --red: #ff6f73;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --condensed: "Arial Narrow", "Roboto Condensed", Impact, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 16% 7%, rgba(17, 221, 242, 0.1), transparent 27rem),
    radial-gradient(circle at 78% 22%, rgba(17, 221, 242, 0.22), transparent 33rem),
    linear-gradient(180deg, #030404 0%, #0a0d0e 46%, #050606 100%);
  background-size: 58px 58px, 58px 58px, auto, auto, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.4rem;
  padding: 0.9rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(2, 3, 3, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand img {
  width: 7.25rem;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
}

.brand span {
  padding-left: 0.85rem;
  border-left: 1px solid var(--line);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.1rem);
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav a {
  transition: color 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--cyan);
}

.search button,
footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  font: inherit;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.search button:hover,
footer a:hover {
  transform: translateY(-1px);
  border-color: rgba(238, 242, 241, 0.34);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  min-height: 35rem;
  padding: clamp(5.6rem, 8vw, 7rem) clamp(1rem, 4vw, 3.5rem) clamp(3.4rem, 7vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(3, 4, 4, 0.92) 0%, rgba(3, 4, 4, 0.72) 42%, rgba(3, 4, 4, 0.42) 72%, rgba(3, 4, 4, 0.8) 100%),
    radial-gradient(circle at 82% 34%, rgba(17, 221, 242, 0.26), transparent 21rem),
    radial-gradient(circle at 72% 62%, rgba(0, 175, 196, 0.12), transparent 19rem);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 62%, rgba(244, 195, 92, 0.08) 62% 65%, transparent 65%),
    linear-gradient(135deg, transparent 0 66%, rgba(17, 221, 242, 0.16) 66% 69%, transparent 69%);
  content: "";
  opacity: 0.72;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 24vh;
  background: linear-gradient(180deg, transparent, rgba(6, 7, 7, 0.88));
  content: "";
}

.hero-content {
  width: min(100%, 72rem);
  max-width: 72rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin-bottom: 1rem;
  font-family: var(--condensed);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(238, 242, 241, 0.13);
}

h1 {
  font-size: clamp(4.2rem, 6.4vw, 6rem);
  line-height: 0.88;
}

.hero h1 {
  white-space: nowrap;
}

.hero h1::after,
.article-shell h1::after {
  display: block;
  width: min(28rem, 72vw);
  height: 0.24rem;
  margin: 1.2rem auto 0;
  background: linear-gradient(90deg, var(--cyan), rgba(17, 221, 242, 0), transparent);
  content: "";
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.96;
}

.articles .section-heading h2,
.categories .section-heading h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.4rem);
  line-height: 0.92;
}

.search {
  display: grid;
  grid-template-columns: 1.45rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  max-width: 60rem;
  margin-top: 2.2rem;
  margin-right: auto;
  margin-left: auto;
  padding: 0.75rem;
  border: 1px solid rgba(17, 221, 242, 0.32);
  background: rgba(15, 18, 20, 0.88);
  box-shadow: var(--shadow);
}

.search svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
}

.search input::placeholder {
  color: rgba(238, 242, 241, 0.42);
}

.search button,
footer a {
  padding: 0 1.35rem;
  background: #f5f7f4;
  border-color: transparent;
  color: #050606;
  font-weight: 760;
  box-shadow: 0 18px 40px rgba(238, 242, 241, 0.18);
}

.articles,
.categories {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3.8rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.section-heading .eyebrow {
  margin-bottom: 0.5rem;
}

.article-list {
  display: grid;
  border: 1px solid var(--line);
  background: rgba(15, 18, 20, 0.62);
}

.article {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.35rem;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, transform 160ms ease;
}

.article:last-child {
  border-bottom: 0;
}

.article:hover,
.category:hover {
  background: rgba(238, 242, 241, 0.045);
}

.article-icon,
.category span {
  display: grid;
  place-items: center;
  width: 3.05rem;
  height: 2.35rem;
  border: 1px solid rgba(17, 221, 242, 0.34);
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.73rem;
  font-weight: 800;
}

.article strong,
.category strong,
footer strong {
  display: block;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 760;
}

.article small,
.category small,
footer span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.category {
  min-height: 11.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(15, 18, 20, 0.62);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.category:hover {
  border-color: rgba(238, 242, 241, 0.24);
  transform: translateY(-2px);
}

.category strong {
  margin-top: 2.7rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 clamp(1rem, 4vw, 3.5rem) 2.8rem;
  padding: 1.65rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(17, 221, 242, 0.16), rgba(0, 175, 196, 0.08)),
    rgba(15, 18, 20, 0.72);
}

footer a {
  min-width: 10rem;
}

.article-page {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(4.6rem, 8vw, 6.6rem) clamp(1rem, 4vw, 2rem);
}

.back-link {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.back-link:hover {
  color: var(--text);
}

.article-shell {
  width: 100%;
  max-width: 100%;
  padding: clamp(1.3rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  background: rgba(15, 18, 20, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.article-shell h1 {
  margin-bottom: 1.15rem;
  max-width: 100%;
  font-size: clamp(1.58rem, 2.05vw, 2.1rem);
  line-height: 1;
  white-space: normal;
  overflow-wrap: anywhere;
}

.article-summary {
  max-width: 760px;
  margin-bottom: 2.2rem;
  color: rgba(238, 242, 241, 0.72);
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  line-height: 1.56;
}

.article-body {
  display: grid;
  gap: 1.7rem;
}

.video-list {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 2.5rem;
}

.video-embed {
  border: 1px solid rgba(17, 221, 242, 0.22);
  background: rgba(0, 0, 0, 0.18);
}

.video-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.video-heading span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.video-heading strong {
  color: var(--text);
  font-size: 0.88rem;
}

.video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.article-body h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.12rem, 1.45vw, 1.32rem);
  line-height: 1.04;
}

.article-body p {
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.62;
}

.spec-list {
  display: grid;
  margin: 1.1rem 0 0;
  border: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.32fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.spec-list div:last-child {
  border-bottom: 0;
}

.spec-list dt,
.spec-list dd {
  margin: 0;
  padding: 0.85rem 1rem;
  line-height: 1.46;
}

.spec-list dt {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-list dd {
  color: var(--soft);
  font-size: 0.9rem;
  border-left: 1px solid var(--line);
}

.help-list {
  margin: 1rem 0 0;
  padding-left: 1.3rem;
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.62;
}

.help-list li + li {
  margin-top: 0.45rem;
}

.topic-list {
  margin-top: 2rem;
}

.related-articles {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.related-articles h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.12rem, 1.45vw, 1.32rem);
  line-height: 1.04;
}

.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;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  nav {
    justify-self: stretch;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .site-header {
    gap: 1rem;
  }

  .brand img {
    width: 6rem;
  }

  .brand span {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
    line-height: 0.88;
    white-space: normal;
  }

  .articles .section-heading h2,
  .categories .section-heading h2 {
    font-size: clamp(2.05rem, 10vw, 2.75rem);
  }

  .search {
    grid-template-columns: 1.35rem minmax(0, 1fr);
  }

  .search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .section-heading {
    display: block;
  }

  .article {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .spec-list div {
    grid-template-columns: 1fr;
  }

  .spec-list dd {
    border-left: 0;
    padding-top: 0;
  }
}
