:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #ffffff;
  --text-main: #141414;
  --shadow-soft: rgba(18, 23, 38, 0.07);
  --shadow-focus: rgba(18, 23, 38, 0.14);
  --logo-accent-a: #5a6b8a;
  --logo-accent-b: #7f8f9f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: 'Pretendard', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text-main);
}

body.is-loading {
  overflow: hidden;
}

.intro {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #202020;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.7s ease;
}

.intro.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.intro-text {
  margin: 0;
  padding: 0 1.2rem;
  text-align: center;
  font-size: clamp(1.3rem, 4vw, 2.4rem);
  letter-spacing: 0.04em;
  font-weight: 700;
}

.actions-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 3vw, 1.8rem);
  padding: clamp(1.4rem, 4vw, 2.4rem) clamp(1rem, 4vw, 2.4rem);
}

.brand-header {
  width: min(980px, 100%);
  display: flex;
  justify-content: center;
}

.brand-logo {
  margin: 0;
  font-family: 'Pretendard', system-ui, sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-align: center;
  color: #111111;
  text-transform: uppercase;
}

.logo-letter {
  display: inline-block;
  animation: logo-letter-wave 2.8s ease-in-out infinite;
}

.logo-space {
  width: 0.5em;
}

.logo-letter:nth-child(1) {
  animation-delay: 0s;
}
.logo-letter:nth-child(2) {
  animation-delay: 0.1s;
}
.logo-letter:nth-child(3) {
  animation-delay: 0.2s;
}
.logo-letter:nth-child(4) {
  animation-delay: 0.3s;
}
.logo-letter:nth-child(5) {
  animation-delay: 0.4s;
}
.logo-letter:nth-child(6) {
  animation-delay: 0.5s;
}
.logo-letter:nth-child(7) {
  animation-delay: 0.6s;
}
.logo-letter:nth-child(8) {
  animation-delay: 0.7s;
}
.logo-letter:nth-child(9) {
  animation-delay: 0.8s;
}
.logo-letter:nth-child(10) {
  animation-delay: 0.9s;
}
.logo-letter:nth-child(11) {
  animation-delay: 1s;
}
.logo-letter:nth-child(12) {
  animation-delay: 1.1s;
}

.action-tabs {
  width: min(980px, 100%);
  padding: clamp(0.6rem, 1.6vw, 1rem);
  border-radius: 28px;
  background: var(--surface);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.2rem);
}

.action-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(8.2rem, 22vw, 11.2rem);
  padding: 1.25rem 0.85rem;
  border-radius: 24px;
  border: none;
  background: var(--surface-soft);
  box-shadow: 0 16px 34px var(--shadow-soft);
  color: var(--text-main);
  text-decoration: none;
  font-size: clamp(0.92rem, 1.7vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.action-tab:hover,
.action-tab:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px var(--shadow-focus);
  color: #111111;
  outline: none;
}

@keyframes logo-letter-wave {
  0%,
  100% {
    transform: translateY(0) scaleY(1);
  }
  35% {
    transform: translateY(-1.5px) scaleY(1.07);
  }
  55% {
    transform: translateY(1.2px) scaleY(0.93);
  }
}

@media (max-width: 840px) {
  .actions-page {
    justify-content: flex-start;
    padding-top: 2rem;
  }

  .action-tabs {
    grid-template-columns: 1fr;
  }

  .action-tab {
    min-height: 7.4rem;
  }
}
