:root {
  color-scheme: dark;
  --bg: #0f1115;
  --text: #f5f7fb;
  --muted: #b7c0d1;
  --accent: #7dd3fc;
  --border: #2a3240;
  --unity-gold: #c6944a;
  --unity-gold-bright: #e5b770;
  --unity-subtext: #d9dbe2;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  overflow: hidden;
}

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

.site-wrap {
  width: min(100vw, 2600px);
  height: 100dvh;
  margin: 0 auto;
  padding: clamp(8px, 1.1vh, 14px) clamp(10px, 1.5vw, 20px);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(8px, 1vh, 14px);
  overflow: hidden;
}

.topbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
}

.brand {
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: 0.3px;
}

.page-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #090b0f;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
}

.unity-case-cta {
  position: absolute;
  left: calc(clamp(20px, 4.1vw, 42px) + 74px);
  bottom: calc(clamp(44px, 6.4vh, 70px) + 5px);
  transform: translateY(0);
  z-index: 2;
  width: min(550px, calc(100% + 200px));
  border: 2px solid rgba(198, 148, 74, 0.5);
  border-radius: 6px;
  background: transparent;
  padding: clamp(15px, 0.95vh, 25px) clamp(10px, 1.15vw, 5px);
  color: var(--unity-gold);
  text-transform: uppercase;
  user-select: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.unity-case-title {
  display: block;
  font-size: clamp(9.9px, 1.08vw, 16.2px);
  font-weight: 600;
  letter-spacing: clamp(1.45px, 0.25vw, 4.1px);
  line-height: 1.06;
  margin-bottom: clamp(4px, 0.54vh, 7px);
}

.unity-case-subtitle {
  display: block;
  font-size: clamp(7.4px, 0.59vw, 10.6px);
  letter-spacing: clamp(1.15px, 0.18vw, 2.8px);
  color: var(--unity-subtext);
  font-weight: 700;
  line-height: 1.2;
}

.unity-case-arrow {
  display: inline-block;
  margin-left: clamp(8px, 1vw, 16px);
  transition: transform 0.2s ease;
}

.unity-case-cta:hover {
  color: var(--unity-gold-bright);
  border-color: var(--unity-gold-bright);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.34),
    0 0 22px rgba(56, 189, 248, 0.23),
    0 0 18px rgba(198, 148, 74, 0.24);
}

.unity-case-cta:hover .unity-case-arrow {
  transform: translateX(5px);
}

.unity-case-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.down-nav-button {
  position: absolute;
  left: 50%;
  bottom: calc(clamp(16px, 2.6vh, 28px) + 10px);
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 2px solid rgba(198, 148, 74, 0.86);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(2, 8, 17, 0.42) 0%, rgba(6, 12, 22, 0.56) 100%);
  color: #f5f8ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24px;
  line-height: 1;
  backdrop-filter: blur(4px);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  user-select: none;
}

.down-nav-button:hover {
  border-color: var(--unity-gold-bright);
  color: #fff7eb;
  transform: translateX(-50%) translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.24),
    0 0 12px rgba(56, 189, 248, 0.16),
    0 0 12px rgba(198, 148, 74, 0.18);
}

.down-nav-button:active {
  transform: translateX(-50%) translateY(0);
  border-color: #f2cd8f;
  background: linear-gradient(180deg, rgba(8, 16, 28, 0.85) 0%, rgba(8, 18, 32, 0.96) 100%);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.38),
    0 0 16px rgba(56, 189, 248, 0.22),
    0 0 16px rgba(198, 148, 74, 0.26);
}

.down-nav-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.down-nav-circle {
  width: clamp(64px, 5.8vw, 74px);
  height: clamp(46px, 4.8vh, 54px);
  padding: 0;
}

.down-nav-chevron {
  width: clamp(12px, 1.25vw, 16px);
  height: clamp(12px, 1.25vw, 16px);
  border-right: 2px solid rgba(240, 246, 255, 0.95);
  border-bottom: 2px solid rgba(240, 246, 255, 0.95);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.down-nav-button:hover .down-nav-chevron {
  border-color: #fffaf0;
  transform: translateY(-4px) rotate(45deg);
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.22));
}

.down-nav-button:active .down-nav-chevron {
  border-color: #ffffff;
  transform: translateY(-3px) rotate(45deg);
}

.return-top-button {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22px;
  text-transform: none;
  padding: 12px 18px;
  min-width: 160px;
}

