:root {
  --bg-light: #ececec;
  --bg-muted: #edf4fa;
  --ink: #2b3139;
  --brand-blue-a: #1e54e8;
  --brand-blue-b: #4aa9e8;
  --deep: #24364d;
  --card-gold-a: #f6ba5f;
  --card-gold-b: #f5d474;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: var(--bg-light);
  overflow-x: hidden;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.page {
  border-top: 2px solid #313338;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.topbar {
  background: #f7f7f7;
  border-bottom: 1px solid #e6e6e6;
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.brand {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.8rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
}

.nav .active {
  font-weight: 700;
}

.btn {
  margin-top: 2rem;
  background: var(--deep);
  color: var(--white);
  border: 0;
  border-radius: 8px;
  padding: 1rem 2.8rem;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 700;
  font-size: 1.06rem;
  cursor: pointer;
  box-shadow: 0 20px 34px rgba(10, 15, 32, 0.2);
}

.btn-blue {
  background: #2f6fe6;
}

.reveal-up,
.reveal-right {
  animation-duration: 0.9s;
  animation-timing-function: ease;
  animation-fill-mode: both;
}

.reveal-up {
  animation-name: revealUp;
}

.reveal-right {
  animation-name: revealRight;
}

.delay-1 {
  animation-delay: 0.22s;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealRight {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
