:root {
  --bg: #14232c;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(180, 205, 215, 0.18);
  --paper: #e6eef2;
  --muted: #8aa3af;
  --brass: #d2a33f;
  --verdigris: #5fb39c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(1200px 600px at 50% -10%, #1d3542 0%, transparent 70%),
    var(--bg);
  color: var(--paper);
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
}

.wrap {
  width: 100%;
  max-width: 520px;
  text-align: center;
}

.title {
  margin: 0;
  font-size: clamp(1.9rem, 7vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  animation: rise 0.7s ease both;
}

.sub {
  margin: 14px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  animation: rise 0.7s 0.12s ease both;
}

.btns {
  display: grid;
  gap: 14px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--panel);
  color: var(--paper);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
  animation: rise 0.7s ease both;
}

.btn--swan {
  --accent: var(--brass);
  animation-delay: 0.24s;
}
.btn--gcas {
  --accent: var(--verdigris);
  animation-delay: 0.36s;
}

/* light sweep across the button on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.13),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

.btn:hover::after,
.btn:focus-visible::after {
  left: 115%;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn:active {
  transform: translateY(0);
}

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
