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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: black;
  background: white;
  scroll-behavior: smooth;
}

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

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

/* --------------------
           VARIABLES
         -------------------- */
:root {
  --radius: 12px;

  /* --bat-red: #ef030b; */
  --rubber-red: #ee5749;
  --floor-blue: #69cffd;
  --table-blue: #4d7dbb;
  --graphite: #303036;
  --granite: #888896;
  --ink-black: #000014;
  --bat-wood: #bc9976;
  --ghost-white: #fffaff;
  --lavender: #d5d5ff;

  --brand: var(--floor-blue);
  --active: var(--floor-blue);
  --active-interacted: var(--table-blue);
  --active-text: var(--table-blue);
  --bg-light: var(--ghost-white);
  --bg-light-accent: var(--lavender);
  --bg-dark: var(--graphite);
  --bg-dark-accent: var(--ink-black);
  --text-dark-muted: var(--granite);
  --text-light-muted: var(--bat-wood);
  --text-light: white;
  --text-dark: var(--ink-black);
  --text-h1: 64px;
  --text-h2: 36px;
  --text-h3: 24px;
  --text-body: 16px;
  --text-small: 12px;

  --section-spacing: 104px;
}

/* --------------------
           LAYOUT
         -------------------- */
html, body {
  overscroll-behavior: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: var(--section-spacing) 0;
  text-align: center;
}

/* --------------------
           TYPOGRAPHY
         -------------------- */
h1,
h2,
h3,
h4 {
  margin-bottom: 32px;
}

h1 {
  font-size: var(--text-h1);
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
}

body {
  font-size: var(--text-body);
}

/* --------------------
           HEADER / HERO
         -------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(48, 48, 54, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}

.site-nav__content__list {
  display: flex;
  gap: 24px;
  padding: 16px;
  list-style-type: none;
  padding: 0;
}

.site-nav__content__list li {
  display: inline-block;
}

.nav__link {
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: var(--text-small);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 6px;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--brand);
}

.nav__link--active {
  color: var(--brand);
}

.nav__link--active::after {
  width: 100%;
  animation: navPulse 2s ease-in-out infinite;
}

@keyframes navPulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

header {
  background: var(--bg-dark);
  color: var(--text-light);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  text-shadow: 6px 4px var(--bg-dark-accent);
  line-height: 1;
  margin-bottom: 16px;
  font-family: "Racing Sans One", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--brand);
}

.hero p {
  color: var(--text-light);
  font-size: var(--text-h3);
  display: block;
}

.hero p + p {
  margin-bottom: 32px;
}

.cta {
  display: block;
}

.cta img {
  height: 64px;
  border-radius: var(--radius);
  transition: 0.2s linear all;
}

.cta:hover img {
  transform: scale(1.02);
  box-shadow: 0 8px 16px var(--bg-dark-accent);
}

.hero__image {
  justify-self: center;
}

/* --------------------
           FOOTER
         -------------------- */
footer {
  padding: 16px;
  background: var(--bg-dark-accent);
  color: var(--text-dark-muted);
  font-size: var(--text-small);
}

.footer__content {
  display: flex;
  justify-content: space-between;
}

.footer__content ul {
  list-style-type: none;
}
