/*
  GWANOX SEO PAGES
  Static, readable pages for search intent. Keep the palette to #141513 and #c4cabd.
*/

@font-face {
  font-family: "Gwanox Micro";
  src: url("../fonts/AzeretMono-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Gwanox Display";
  src: url("../fonts/ArchivoBlack-Regular.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: block;
}

:root {
  --font-micro: "Gwanox Micro";
  --font-display: "Gwanox Display";
  --black: #141513;
  --paper: #c4cabd;
  --bg: var(--black);
  --fg: var(--paper);
  --bg-rgb: 20, 21, 19;
  --fg-rgb: 196, 202, 189;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  accent-color: var(--fg);
  scrollbar-color: var(--fg) var(--bg);
  scrollbar-width: thin;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(var(--fg-rgb), .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--fg-rgb), .04) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px, 28px 28px, auto;
  color: var(--fg);
  font-family: var(--font-micro);
  font-weight: 600;
  letter-spacing: 0;
}

body::selection,
body *::selection {
  background: var(--fg);
  color: var(--bg);
  text-shadow: none;
}

body::-moz-selection,
body *::-moz-selection {
  background: var(--fg);
  color: var(--bg);
  text-shadow: none;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
  border-left: 1px solid rgba(var(--fg-rgb), .24);
  border-radius: 0;
}

::-webkit-scrollbar-thumb {
  min-height: 42px;
  border: 3px solid var(--bg);
  border-radius: 0;
  background: var(--fg);
  box-shadow: inset 0 0 0 1px var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  border-width: 2px;
}

::-webkit-scrollbar-corner {
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

a:hover,
a:focus-visible {
  background: var(--fg);
  color: var(--bg);
  outline: 0;
  text-decoration: none;
}

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

.shell {
  border: 1px solid rgba(var(--fg-rgb), .72);
  background: rgba(var(--bg-rgb), .92);
  box-shadow:
    1px 2px 0 rgba(var(--fg-rgb), .18),
    2px 4px 0 rgba(var(--fg-rgb), .06);
}

.topbar,
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(var(--fg-rgb), .5);
  color: rgba(var(--fg-rgb), .78);
  font-size: 12px;
  text-transform: uppercase;
}

.footer {
  border-top: 1px solid rgba(var(--fg-rgb), .5);
  border-bottom: 0;
}

.hero,
.section {
  padding: 30px 38px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 34px;
  align-items: end;
  border-bottom: 1px solid rgba(var(--fg-rgb), .42);
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.eyebrow span,
.tag {
  border: 1px solid rgba(var(--fg-rgb), .72);
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}

h2 {
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
}

h3 {
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
}

.lead {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(var(--fg-rgb), .86);
  font-size: 17px;
  line-height: 1.65;
}

.hero-media {
  border: 1px solid rgba(var(--fg-rgb), .66);
  padding: 12px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.6);
  opacity: .9;
}

.section {
  border-bottom: 1px solid rgba(var(--fg-rgb), .28);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.card,
.link-card {
  border: 1px solid rgba(var(--fg-rgb), .58);
  padding: 16px;
  min-height: 142px;
  background: rgba(var(--bg-rgb), .72);
}

.card p,
.link-card p,
.section > p,
li {
  color: rgba(var(--fg-rgb), .82);
  font-size: 14px;
  line-height: 1.65;
}

.card p,
.link-card p {
  margin-top: 10px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  text-transform: uppercase;
}

.link-card strong {
  font-size: 16px;
}

.link-card span {
  display: block;
  margin-top: 10px;
  color: rgba(var(--fg-rgb), .72);
  font-size: 12px;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  border-left: 6px solid var(--fg);
  padding: 9px 0 9px 14px;
}

.video-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.video-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(var(--fg-rgb), .58);
  padding: 10px;
  text-decoration: none;
}

.video-row img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1) contrast(1.35);
}

.video-row span {
  display: block;
  margin-top: 8px;
  color: rgba(var(--fg-rgb), .7);
  font-size: 12px;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.widget-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 18px;
  align-items: start;
  margin-top: 20px;
}

.widget-panel {
  border: 1px solid rgba(var(--fg-rgb), .58);
  padding: 10px;
  background: rgba(var(--bg-rgb), .72);
}

.discord-widget {
  display: block;
  width: 100%;
  max-width: 350px;
  height: 500px;
  border: 0;
}

.signal-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(var(--fg-rgb), .28);
  padding: 0 0 9px;
  text-transform: uppercase;
}

.signal-list strong {
  color: var(--fg);
}

.note {
  margin-top: 18px;
  border: 1px solid rgba(var(--fg-rgb), .5);
  padding: 14px;
  color: rgba(var(--fg-rgb), .78);
  font-size: 13px;
  line-height: 1.6;
}

.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: 820px) {
  .page {
    width: min(100% - 20px, 1040px);
    padding-top: 18px;
  }

  .hero,
  .section {
    padding: 22px 18px;
  }

  .hero,
  .grid,
  .link-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 220px;
  }

  .video-row {
    grid-template-columns: 1fr;
  }

  .widget-layout {
    grid-template-columns: 1fr;
  }
}
