@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --page-bg: #0B1215;
  --text-primary: #fff;
  --text-high: rgba(255, 255, 255, 1.0);
  --text-medium: rgba(255, 255, 255, 0.85);
  --text-low: rgba(255, 255, 255, 0.4); /* decorative only — do not use for text */
  --surface-1: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --radius-pill: 9999px;
  --transition-fast: 0.2s;
  --header-blur: 12px;
}

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

html {
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  background: var(--page-bg);
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button,
input,
textarea,
select {
  font: inherit;
  line-height: inherit;
}

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

.site-header {
  position: relative;
  z-index: 50;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0;
  backdrop-filter: blur(var(--header-blur));
  -webkit-backdrop-filter: blur(var(--header-blur));
  border-bottom: 1px solid var(--border-default);
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 641px) {
  .header-inner {
    padding: 0 24px;
  }
}

@media (min-width: 1025px) {
  .header-inner {
    padding: 0 32px;
  }
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 28px;
  width: auto;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 100px;
  padding: 40px 0 50px;
  background: #0d171b;
  box-sizing: border-box;
}

.site-footer-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr);
  gap: 42px;
  align-items: start;
  text-align: left;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.site-footer-wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-footer-wordmark:hover {
  text-decoration: none;
}

.site-footer-wordmark-text {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.site-footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.site-footer-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  max-width: 40rem;
}

.site-footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
}

.site-footer-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.site-footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.site-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 96px;
  justify-self: end;
}

.site-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer-title {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer-link {
  color: var(--text-high);
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.site-footer-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

.site-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-high);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer-social-link:hover,
.site-footer-social-link:active {
  color: #fff;
}

.site-footer-social-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.site-footer-social-icon--youtube {
  width: 26px;
  height: 26px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 25px;
}

.footer-links a {
  color: var(--text-high);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .sep {
  font-size: 0.625rem;
  color: var(--text-medium);
}

.footer-copy {
  color: var(--text-medium);
  margin-bottom: 4px;
}

.footer-tagline {
  color: var(--text-medium);
  font-size: 1.125rem;
  max-width: 512px;
  line-height: 1.625;
}

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

  .site-footer-nav {
    justify-self: stretch;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 34px 0 38px;
  }

  .site-footer-logo-img {
    height: 28px;
  }

  .site-footer-shell {
    width: min(100% - 32px, 1100px);
  }

  .site-footer-nav {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-links .sep {
    display: none;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}

/* global back button */

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 8px;
  gap: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.back-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.back-btn:hover .back-icon {
  transform: translateX(-4px);
}

.back-btn:active .back-icon {
  transform: translateX(-6px);
}

.back-text {
    display: none;
    font-weight: 500;
}

@media (min-width: 641px) {
    .back-text {
        display: block;
    }
}

/* global page header */

