/*
Theme Name: NULLSIGN CORP
Theme URI: https://nullsigncorp.example
Author: NULLSIGN CORP
Author URI: https://nullsigncorp.example
Description: Szablon jednostronicowej strony frakcyjnej NULLSIGN CORP (lore/marketing) wraz z ukrytą podstroną "Cień". Zawiera animowane favicony, paralaksę tła i mikro-glitche jako efekty dekoracyjne.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nullsign-corp
*/

:root {
  --bg: #0a0912;
  --bg-alt: #0d0b16;
  --surface: #15121f;
  --surface-2: #1b1729;
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #f1eefb;
  --text-muted: #aba4c7;
  --text-faint: #80799c;
  --accent: #7c5cff;
  --accent-strong: #a58bff;
  --accent-dim: rgba(124, 92, 255, .14);
  --shadow-red: #a8555a;
  --shadow-red-dim: rgba(168, 85, 90, .14);
  --font-display: 'Chakra Petch', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --edge: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  color-scheme: dark;
  scroll-behavior: smooth
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.news-grid img {
  /* max-width: 100%; */
  display: block
}

.post-single img {
  max-width: 100%;
  height: auto;
  display: block
}

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px
}

.cut {
  clip-path: polygon(0 0, calc(100% - var(--edge)) 0, 100% var(--edge), 100% 100%, 0 100%)
}

.cut-rev {
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--edge) 100%, 0 calc(100% - var(--edge)))
}

/* classification stripe */
.stripe {
  background: linear-gradient(90deg, #1c1013, #241417 40%, #1c1013);
  border-bottom: 1px solid rgba(168, 85, 90, .35);
  color: var(--shadow-red);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 16px;
}

.stripe.bottom {
  border-bottom: none;
  border-top: 1px solid rgba(168, 85, 90, .35)
}

/* nav */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 9, 18, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.logo small {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.logo img {
  max-height: 30px;
  width: auto;
  display: block
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px
}

.nav-links a {
  font-size: 14.5px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--text)
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 22px;
  background: var(--accent);
  color: #0a0912;
  border: 1px solid var(--accent);
  white-space: nowrap;
  transition: transform .18s cubic-bezier(.16, 1, .3, 1), background .2s;
}

.btn:hover {
  background: var(--accent-strong);
  box-shadow: 0 10px 30px -8px rgba(124, 92, 255, .55)
}

.btn:active {
  transform: scale(.97)
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--accent)
}

.nav-cta {
  display: none
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 26px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text)
}

@media (min-width:980px) {
  .nav-cta {
    display: inline-flex
  }

  .nav-cta-mobile {
    display: none
  }
}

@media (max-width:979px) {
  nav {
    gap: 0
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }

  .nav-links.open {
    max-height: 340px
  }

  .nav-links a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border)
  }

  .nav-links .btn {
    margin: 16px 24px
  }

  .menu-toggle {
    display: flex
  }

  .logo img {
    max-height: 20px;
  }
}

/* sections */
section {
  padding: 96px 0
}

@media (max-width:640px) {
  section {
    padding: 64px 0
  }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -.01em
}

/* .reveal is visible by default; JS opts into the hidden-until-scrolled state so content never depends on script execution */
html.js-anim .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1)
}

html.js-anim .reveal.in {
  opacity: 1;
  transform: translateY(0)
}

@media (prefers-reduced-motion:reduce) {
  html.js-anim .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }
}

/* stagger: children reveal in a cascade instead of all at once */
.dept-card:nth-child(2) {
  transition-delay: .09s
}

.dept-card:nth-child(3) {
  transition-delay: .18s
}

.dept-card:nth-child(4) {
  transition-delay: .27s
}

.klauzula:nth-child(2) {
  transition-delay: .09s
}

.klauzula:nth-child(3) {
  transition-delay: .18s
}

.klauzula:nth-child(4) {
  transition-delay: .27s
}

.klauzula:nth-child(5) {
  transition-delay: .36s
}

.rung:nth-child(2) {
  transition-delay: .08s
}

.rung:nth-child(3) {
  transition-delay: .16s
}

.rung:nth-child(4) {
  transition-delay: .24s
}

.rung:nth-child(5) {
  transition-delay: .32s
}

.rung:nth-child(6) {
  transition-delay: .4s
}

/* ambient glitch: random brief RGB-slice bursts on headings, triggered by JS, decorative only */
.glitchable {
  position: relative
}

.glitchable::before,
.glitchable::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0;
  background: transparent;
}

.glitchable.glitch-burst::before {
  opacity: .8;
  color: #ff3b5c;
  animation: glitch-slice-a .38s steps(2, jump-end) 1 forwards;
}

.glitchable.glitch-burst::after {
  opacity: .8;
  color: #3bd0ff;
  animation: glitch-slice-b .38s steps(2, jump-end) 1 forwards;
}

@keyframes glitch-slice-a {
  0% {
    clip-path: inset(0 0 82% 0);
    transform: translate(-4px, -1px)
  }

  45% {
    clip-path: inset(30% 0 40% 0);
    transform: translate(3px, 1px)
  }

  100% {
    clip-path: inset(12% 0 60% 0);
    transform: translate(0, 0)
  }
}

@keyframes glitch-slice-b {
  0% {
    clip-path: inset(75% 0 0 0);
    transform: translate(4px, 1px)
  }

  45% {
    clip-path: inset(38% 0 22% 0);
    transform: translate(-3px, -1px)
  }

  100% {
    clip-path: inset(58% 0 6% 0);
    transform: translate(0, 0)
  }
}

@media (prefers-reduced-motion:reduce) {

  .glitchable.glitch-burst::before,
  .glitchable.glitch-burst::after {
    display: none
  }
}

/* leak link ("SYGNAŁ"): faint, permanently unstable signal */
.leak {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
  opacity: .4;
  transition: opacity .3s;
}

.leak:hover,
.leak:focus-visible {
  opacity: .9;
  color: var(--shadow-red)
}

@media (prefers-reduced-motion:no-preference) {
  .leak::before {
    opacity: 0;
    color: #ff3b5c;
    animation: leak-flicker-a 5.2s ease-in-out infinite
  }

  .leak::after {
    opacity: 0;
    color: #3bd0ff;
    animation: leak-flicker-b 5.2s ease-in-out infinite
  }
}

@keyframes leak-flicker-a {

  0%,
  91% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translate(0, 0)
  }

  93% {
    opacity: .8;
    clip-path: inset(0 0 60% 0);
    transform: translate(-3px, 0)
  }

  96% {
    opacity: .8;
    clip-path: inset(40% 0 20% 0);
    transform: translate(2px, 0)
  }

  100% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translate(0, 0)
  }
}

@keyframes leak-flicker-b {

  0%,
  90% {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translate(0, 0)
  }

  93% {
    opacity: .8;
    clip-path: inset(55% 0 0 0);
    transform: translate(3px, 0)
  }

  96% {
    opacity: .8;
    clip-path: inset(15% 0 45% 0);
    transform: translate(-2px, 0)
  }

  100% {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translate(0, 0)
  }
}

/* hero */
.hero {
  position: relative;
  min-height: calc(100dvh - 68px);
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

/* photo sits on its own layer, oversized vertically so the JS scroll-parallax
       translate never exposes an edge; z-index below everything else in .hero */
.hero-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -200px;
  bottom: -200px;
  z-index: -2;
  background: url("assets/images/hero-space.jpg") 60% 42% / cover no-repeat;
  will-change: transform;
  pointer-events: none;
}

.hero-tint {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 8%, rgba(178, 140, 255, 0), transparent 42%),
    linear-gradient(200deg, rgba(67, 38, 168, .59) 0%, rgba(36, 20, 99, 0) 28%, rgba(21, 12, 48, .76) 52%, rgba(10, 9, 18, .84) 78%);
  pointer-events: none;
}

/* drifting rays live on their own oversized layer, animated via transform
     (composited, no gradient re-rasterization) so the pattern never seams */
.hero::before {
  content: '';
  position: absolute;
  inset: -120px;
  z-index: 0;
  background: repeating-linear-gradient(115deg, rgba(124, 92, 255, .14) 0 2px, transparent 2px 34px);
  pointer-events: none;
}

@media (prefers-reduced-motion:no-preference) {
  .hero::before {
    animation: hero-drift 24s ease-in-out infinite alternate
  }
}

@keyframes hero-drift {
  from {
    transform: translate(0, 0)
  }

  to {
    transform: translate(70px, 35px)
  }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 9, 18, 0) 45%, rgba(10, 9, 18, .9) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.06;
  font-weight: 700;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6), 0 1px 4px rgba(0, 0, 0, .7);
}

.hero .motto {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.7;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .7);
}

.hero .motto strong {
  color: var(--text);
  font-weight: 500
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

/* about split */
.about {
  background: var(--bg-alt)
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: start
}

@media (max-width:860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }
}

.about h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  margin-bottom: 18px
}

.about p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 56ch;
  margin-bottom: 14px
}

.factsheet {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px;
}

.factsheet-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.factsheet-row:last-child {
  border-bottom: none
}

.factsheet-row span:first-child {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase
}

.factsheet-row span:last-child {
  color: var(--text);
  font-weight: 500;
  text-align: right
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px
}

.tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 6px 11px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  transition: border-color .2s, color .2s;
}

.tag:hover {
  border-color: var(--accent);
  color: var(--accent-strong)
}

.tags-legend {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-faint);
  margin-top: 10px;
  letter-spacing: .04em
}

.tags-legend .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  margin-right: 5px
}

/* departments */
.dept-head {
  max-width: 640px;
  margin-bottom: 52px
}

.dept-head h1,
.dept-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  margin-bottom: 14px
}

.dept-head p {
  color: var(--text-muted);
  font-size: 16px
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border)
}

@media (max-width:760px) {
  .dept-grid {
    grid-template-columns: 1fr
  }
}

.dept-card {
  background: var(--bg-alt);
  padding: 32px;
  position: relative;
  border-top: 2px solid var(--accent);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), background .3s;
}

.dept-card:hover {
  background: var(--surface);
  transform: translateY(-3px)
}

/* photo + tint sit behind the whole section; the section itself must stay
       background-less, otherwise its own bg paints over these negative-z layers */
#departamenty {
  position: relative;
  overflow: hidden;
}

.dept-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -160px;
  bottom: -160px;
  z-index: -2;
  background: url("assets/images/departamenty-bg.jpg") 50% 30% / cover no-repeat;
  will-change: transform;
  pointer-events: none;
}

.dept-tint {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(10 9 18 / 32%), rgb(13 11 22 / 55%) 40%, rgba(13, 11, 22, .97));
  pointer-events: none;
}

#departamenty>.wrap {
  position: relative;
  z-index: 2;
}

.dept-card .code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.dept-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 10px 0 6px;
  line-height: 1.25
}

.dept-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 60ch
}

/* aktualności — lista wpisów WP (page-aktualnosci.php) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border)
}

@media (max-width:760px) {
  .news-grid {
    grid-template-columns: 1fr
  }
}

.news-card {
  background: var(--bg-alt);
  padding: 28px 32px;
  position: relative;
  border-top: 2px solid var(--accent);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), background .3s;
}

.news-card:hover {
  background: var(--surface);
  transform: translateY(-3px)
}

.news-thumb {
  width: calc(100% + 64px);
  height: 160px;
  margin: -28px -32px 20px;
  object-fit: cover;
  filter: grayscale(.15) contrast(1.05);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.news-meta .tag {
  font-size: 10.5px;
  padding: 4px 9px
}

.news-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3
}

.news-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65
}

.news-pagination ul {
  list-style: none;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.news-pagination .page-numbers {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  display: inline-block;
}

.news-pagination a.page-numbers:hover {
  border-color: var(--accent);
  color: var(--accent-strong)
}

.news-pagination .page-numbers.current {
  border-color: var(--accent);
  color: var(--accent-strong)
}

/* single.php — pojedynczy wpis */
.post-single {
  max-width: 760px;
  margin: 0 auto;
}

.post-thumb {
  margin: 28px 0;
}

.post-content {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.post-content>*+* {
  margin-top: 1.1em
}

.post-content h2,
.post-content h3 {
  color: var(--text);
  margin-top: 1.6em
}

.post-content a {
  color: var(--accent-strong);
  text-decoration: underline
}

.post-content ul,
.post-content ol {
  padding-left: 1.4em
}

.post-content blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  color: var(--text-faint)
}

.post-cta {
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
}

/* kodeks */
.kodeks {
  background: var(--bg-alt)
}

.kodeks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  counter-reset: klauzula
}

@media (max-width:760px) {
  .kodeks-grid {
    grid-template-columns: 1fr
  }
}

.klauzula {
  background: var(--bg-alt);
  padding: 28px;
  border-left: 2px solid var(--border-strong);
  position: relative;
  overflow: hidden;
  transition: border-color .25s, background .25s, transform .3s cubic-bezier(.16, 1, .3, 1);
}

.klauzula::before {
  counter-increment: klauzula;
  content: counter(klauzula, decimal-leading-zero);
  position: absolute;
  right: 18px;
  top: 2px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  color: rgba(255, 255, 255, .045);
  pointer-events: none;
}

.klauzula:hover {
  border-left-color: var(--accent);
  background: var(--surface);
  transform: translateY(-3px)
}

.klauzula.redline {
  border-left-color: var(--shadow-red);
  background: linear-gradient(90deg, var(--shadow-red-dim), transparent 60%)
}

.klauzula.redline::before {
  color: rgba(168, 85, 90, .10)
}

.klauzula.redline:hover {
  border-left-color: var(--shadow-red);
  background: linear-gradient(90deg, rgba(168, 85, 90, .22), transparent 60%)
}

.klauzula.span2 {
  grid-column: 1 / -1
}

.klauzula .par {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-strong);
  letter-spacing: .08em
}

.klauzula.redline .par {
  color: var(--shadow-red)
}

.klauzula h3 {
  position: relative;
  font-size: 17px;
  font-weight: 600;
  margin: 8px 0 8px
}

.klauzula p {
  position: relative;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 60ch
}

/* career ladder */
.ladder {
  position: relative
}

.ladder-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}

.ladder-track::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 2%;
  right: 2%;
  height: 1px;
  background: var(--border-strong);
}

@media (max-width:900px) {
  .ladder-track {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .ladder-track::before {
    display: none
  }
}

.rung {
  position: relative;
  padding-top: 32px
}

.rung::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 0;
  width: 15px;
  height: 15px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.rung:last-child::before {
  background: var(--accent)
}

@media (max-width:900px) {
  .rung {
    padding-top: 0;
    padding-left: 34px
  }

  .rung::before {
    top: 4px;
    left: 0
  }

  .rung p {
    max-width: 100% !important;
  }
}

.rung .r {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: .12em
}

.rung h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 6px 0 8px;
  transition: color .2s
}

.rung:hover h3 {
  color: var(--accent-strong)
}

.rung p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 170px
}

/* final cta */
.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -200px;
  bottom: -200px;
  z-index: -2;
  background: url("assets/images/final-cta.jpg") 45% 45% / cover no-repeat;
  will-change: transform;
  pointer-events: none;
}

.final-tint {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgb(36 20 99 / 0%), rgba(21, 12, 48, .93) 55%, rgba(10, 9, 18, .95));
}

.final-cta>.wrap {
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  max-width: 680px;
  margin: 0 auto 16px
}

.final-cta p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 52ch;
  margin: 0 auto 32px
}

.final-cta .btn {
  padding: 15px 32px;
  font-size: 15.5px
}

footer {
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding: 56px 10px 36px;
}

@media (max-width:760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px
  }
}

.footer-grid .logo {
  margin-bottom: 12px
}

.footer-grid p {
  color: var(--text-faint);
  font-size: 13.5px;
  max-width: 38ch;
  line-height: 1.6
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  padding: 5px 0
}

.footer-col a:hover {
  color: var(--accent-strong)
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 10px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
}