/* ---------- HEADER ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner,
.site-footer__inner {
  width: min(100%, var(--site-max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  min-width: 0;
}

.site-logo {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
}

.site-logo img {
  width: 100%;
  max-width: 32rem;
  height: auto;
}

/* ---------- NAV (Header & Footer) ---------- */

.site-nav {
  flex: 0 0 auto;
}

.site-nav__list,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  position: relative;
  color: #eeeeee;
  text-decoration: none;
}

.site-nav a::before,
.site-nav a::after {
  opacity: 0;
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.site-nav a::before {
  top: -2px;
}

.site-nav a::after {
  bottom: -2px;
}

.site-nav a:hover {
  color: #ffffff;
}
.site-nav a:hover::before,
.site-nav a:hover::after {
  opacity: 1;
  color: #ffffff;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle__bar {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(0.4rem) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}

/* ---------- CARDS ---------- */

.steps-list,
.card-grid {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  margin: 2rem 0 0;
}

.steps-list {
  list-style: none;
}

.step-card {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.step-card__number {
  margin-bottom: 0.5rem;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.cards-cta {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 2rem 0;
}

/* ---------- CTA SEQUENCE ---------- */

.cta-sequence {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cta-sequence__arrow {
  font-size: 1.5rem;
  color: var(--muted);
}

.button--secondary {
  background: transparent;
  color: var(--accent-dark);
  border-color: rgba(15, 118, 110, 0.28);
}

.button--secondary:hover {
  background: rgba(15, 118, 110, 0.08);
}

.step-card p:last-child {
  margin-bottom: 0;
}

/* ---------- FOOTER ---------- */

.site-footer {
  padding-top: 8rem;
  padding-bottom: 3.8rem;
  border-top: 1px solid rgba(16, 42, 67, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.site-footer__inner {
  display: grid;
  gap: 1rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}
/* NAV (footer) */
.footer-nav {
  justify-content: center;
}

.footer-nav a {
  text-decoration:none;
}

.footer-nav a:hover {
  text-decoration:none;
}

.footer-nav li {
  margin: 0;
  font-size: 1.25em;
}

/* ---------- COPYRIGHT ---------- */
.copyright {
  margin: 0;
  font-size: .9em;
}

/* ---------- AFFILIATE LINK DISCLOSURE ---------- */
.aff_links {
  margin: 0;
  font-size: .9em;
}
