:root {
  color-scheme: dark;
  --bg: #090b10;
  --panel: #111720;
  --panel-2: #151c27;
  --ink: #f4f7fb;
  --muted: #a6b0bf;
  --dim: #768293;
  --line: rgba(255, 255, 255, 0.11);
  --violet: #8b6cff;
  --cyan: #2bd6c4;
  --coral: #ff8068;
  --yellow: #f0c35b;
  --green: #78e08f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(43, 214, 196, 0.06), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 11, 16, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.desktop-nav,
.hero-actions,
.hero-tags,
.site-footer,
.ticker,
.avatars {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(145deg, #ad63ff 0%, #7d5cff 42%, #4b8cff 72%, #2bd6c4 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 22px rgba(125, 92, 255, 0.24);
  color: #071014;
  font-weight: 900;
}

.desktop-nav {
  justify-content: center;
  gap: 1.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--ink);
}

.header-action {
  justify-self: end;
  padding: 0.62rem 0.92rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.menu-button {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-nav {
  display: none;
}

.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: clamp(2rem, 5vh, 4rem) 5vw;
  border-bottom: 1px solid var(--line);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero,
.download-hero,
.section,
.contact-section,
.site-footer {
  scroll-margin-top: 0;
}

.room-card,
.position-card,
.timeline-list article,
.culture-list article,
.download-panel,
.download-card,
.release-list article,
.contact-section {
  scroll-margin-top: 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  text-wrap: pretty;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(4.5rem, 12vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 980px;
  margin-bottom: 1.25rem;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
}

.hero-summary {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-tags {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.8rem, 4vh, 3rem);
  color: var(--muted);
}

.hero-tags span {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--cyan);
  color: #061011;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.voice-stage {
  position: relative;
  min-height: 520px;
}

.room-card,
.mini-room,
.position-card,
.contact-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 23, 32, 0.84);
  box-shadow: var(--shadow);
}

.position-card,
.timeline-list article,
.culture-list article,
.download-card,
.release-list article {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 240ms ease,
    background-color 240ms ease;
}

.position-card.is-visible,
.timeline-list article.is-visible,
.culture-list article.is-visible,
.download-card.is-visible,
.release-list article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.room-card {
  position: absolute;
  inset: 8% 8% auto 0;
  min-height: 360px;
  padding: 2rem;
}

.room-topline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 24px var(--green);
}

.room-card h2 {
  margin: 1.2rem 0 2.2rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

.waveform {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  gap: 0.7rem;
  height: 116px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c1118;
}

.waveform span {
  display: block;
  height: 24%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  animation: pulse 1.8s ease-in-out infinite;
}

.waveform span:nth-child(2) { height: 62%; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 42%; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 86%; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 55%; animation-delay: 0.4s; }
.waveform span:nth-child(6) { height: 74%; animation-delay: 0.5s; }
.waveform span:nth-child(7) { height: 34%; animation-delay: 0.6s; }

@keyframes pulse {
  0%, 100% { transform: scaleY(0.72); opacity: 0.66; }
  50% { transform: scaleY(1); opacity: 1; }
}

.avatars {
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.avatars span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.86rem;
}

.mini-room {
  position: absolute;
  width: min(260px, 52vw);
  padding: 1.1rem;
}

.mini-room span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--dim);
  font-size: 0.82rem;
  font-weight: 800;
}

.mini-room strong {
  display: block;
  color: var(--ink);
}

.room-a {
  right: 0;
  top: 0;
  border-color: rgba(43, 214, 196, 0.38);
}

.room-b {
  right: 6%;
  bottom: 12%;
  border-color: rgba(255, 128, 104, 0.42);
}

.ticker {
  display: none;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.15rem 5vw;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.ticker span {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  width: min(1120px, 90vw);
  margin: 0 auto;
  min-height: 100vh;
  padding: clamp(2rem, 5vh, 4rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.intro {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 3rem;
  align-content: center;
  align-items: center;
}

.section h2,
.contact-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.intro > p,
.section-head p,
.contact-section p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-head {
  max-width: 920px;
  margin-bottom: clamp(1.4rem, 3vh, 2rem);
}

.section-head.compact {
  max-width: 820px;
}

.position-grid {
  display: grid;
  gap: clamp(0.55rem, 1.4vh, 0.95rem);
}

.legacy-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 4rem);
}

.position-card {
  position: relative;
  min-height: 148px;
  padding: clamp(0.85rem, 1.25vw, 1.05rem);
}

.position-grid .position-card::before,
.position-grid .position-card::after {
  display: none;
}

.position-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + (var(--card-gap) - 1.25rem) / 2);
  width: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(43, 214, 196, 0.55), rgba(139, 108, 255, 0.22));
}

.position-card:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  left: calc(100% + (var(--card-gap) / 2) - 3px);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(43, 214, 196, 0.5);
}

.position-card.highlight {
  background: linear-gradient(145deg, rgba(139, 108, 255, 0.24), rgba(43, 214, 196, 0.12)), var(--panel);
}

.position-card.legacy {
  min-height: 118px;
  background: rgba(17, 23, 32, 0.66);
}

.position-card.solution {
  width: min(860px, 100%);
  min-height: 132px;
  margin: 0 auto;
  padding: clamp(0.9rem, 1.6vw, 1.2rem);
}

.position-bridge {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 30px;
}

.position-bridge::before,
.position-bridge::after {
  content: "";
  position: absolute;
  top: 0;
  width: min(22vw, 230px);
  height: 30px;
  border-bottom: 1px solid rgba(43, 214, 196, 0.42);
}

.position-bridge::before {
  right: 50%;
  border-left: 1px solid rgba(43, 214, 196, 0.3);
  border-bottom-left-radius: 18px;
}

.position-bridge::after {
  left: 50%;
  border-right: 1px solid rgba(43, 214, 196, 0.3);
  border-bottom-right-radius: 18px;
}

.position-bridge span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(43, 214, 196, 0.55);
  border-radius: 999px;
  background: var(--bg);
  box-shadow: 0 0 22px rgba(43, 214, 196, 0.22);
}

.position-bridge span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg) translate(-1px, -1px);
}

.label {
  color: var(--yellow);
  font-weight: 900;
  font-size: 0.82rem;
}

.position-card h3 {
  margin: 0.6rem 0 0.42rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.position-card p,
.download-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.roadmap-section {
  width: min(1180px, 90vw);
}

.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.4vw, 1rem);
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 1.05rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(43, 214, 196, 0.16), rgba(43, 214, 196, 0.62), rgba(139, 108, 255, 0.28));
}

.timeline-list article {
  position: relative;
  min-height: 132px;
  padding: 2.15rem 0.85rem 0.95rem;
  box-shadow: none;
}

.timeline-list article::before {
  content: "";
  position: absolute;
  top: 0.78rem;
  left: 0.9rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(43, 214, 196, 0.45);
}

.timeline-list article:last-child {
  background: linear-gradient(145deg, rgba(139, 108, 255, 0.22), rgba(43, 214, 196, 0.1)), var(--panel);
}

.timeline-list span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
}

.timeline-list h3 {
  margin-bottom: 0;
  font-size: clamp(0.96rem, 1.2vw, 1.12rem);
  line-height: 1.25;
}

.culture-section {
  width: min(1120px, 90vw);
}

.culture-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.culture-list article {
  min-height: 150px;
  padding: clamp(1rem, 1.8vw, 1.35rem);
  box-shadow: none;
}

.culture-list span {
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
}

.culture-list h3 {
  margin: 0.7rem 0 0.5rem;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.25;
}

.culture-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.culture-list article:first-child {
  background: linear-gradient(145deg, rgba(43, 214, 196, 0.14), rgba(139, 108, 255, 0.08)), var(--panel);
}

.culture-list article:nth-child(2) {
  background: linear-gradient(145deg, rgba(139, 108, 255, 0.18), rgba(75, 140, 255, 0.1)), var(--panel);
}

.culture-list article:last-child {
  background: linear-gradient(145deg, rgba(255, 128, 104, 0.12), rgba(139, 108, 255, 0.08)), var(--panel);
}

.contact-section {
  width: min(980px, 82vw);
  min-height: 60vh;
  margin: 0 auto clamp(1.5rem, 4vh, 2.5rem);
  padding: clamp(1.6rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(43, 214, 196, 0.16), rgba(255, 128, 104, 0.12)), var(--panel);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.contact-section p {
  max-width: 680px;
}

.contact-section .button {
  margin-top: 1.1rem;
}

.site-footer {
  justify-content: space-between;
  min-height: 88px;
  padding: 0 5vw;
  border-top: 1px solid var(--line);
  color: var(--dim);
  scroll-snap-align: end;
  scroll-snap-stop: always;
}

.download-hero {
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 160px);
  padding: 0 5vw;
}

.download-copy {
  width: min(860px, 100%);
  transform: none;
}

.download-copy h1 {
  max-width: 860px;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: 0.96;
}

.download-copy p,
.download-panel p {
  max-width: 860px;
  color: var(--muted);
  font-size: 1.08rem;
}

.download-panel,
.download-card,
.release-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 23, 32, 0.84);
}

.download-panel {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}

.download-panel h2 {
  margin: 1rem 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.status-pill {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(43, 214, 196, 0.4);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.build-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.build-row span {
  color: var(--dim);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.download-card {
  display: grid;
  align-content: start;
  min-height: 250px;
  padding: 1.4rem;
  box-shadow: none;
}

.download-card.available-soon {
  background: linear-gradient(145deg, rgba(43, 214, 196, 0.16), rgba(139, 108, 255, 0.12)), var(--panel);
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
  font-weight: 900;
}

.download-card h3 {
  margin: 1.2rem 0 0.7rem;
  font-size: 1.45rem;
}

.download-card p {
  color: var(--muted);
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  font-weight: 900;
}

.download-button.disabled {
  border: 1px solid var(--line);
  color: var(--dim);
}

.release-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 3rem;
}

#platforms.section {
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.release-list {
  display: grid;
  gap: 1rem;
}

.release-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.2rem;
}

.release-list strong {
  color: var(--yellow);
}

.release-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.error-page {
  width: min(620px, 90vw);
  padding: 3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.error-page h1 {
  max-width: 460px;
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 6vw, 4.25rem);
  line-height: 1.05;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .position-card,
  .download-card,
  .release-list article {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-action {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    inset: 72px 0 auto;
    z-index: 9;
    display: none;
    padding: 1rem 5vw;
    border-bottom: 1px solid var(--line);
    background: rgba(9, 11, 16, 0.96);
  }

  .mobile-nav.open {
    display: grid;
    gap: 0.85rem;
  }

  .mobile-nav a {
    padding: 0.85rem 0;
    color: var(--muted);
    font-weight: 800;
  }

  .hero,
  .intro,
  .download-hero,
  .release-section {
    grid-template-columns: 1fr;
  }

  .intro {
    transform: none;
  }

  .hero {
    min-height: auto;
  }

  .voice-stage {
    min-height: 460px;
  }

  .position-grid,
  .legacy-row,
  .timeline-list,
  .culture-list,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .timeline-list {
    gap: 0.75rem;
  }

  .timeline-list::before {
    left: 1rem;
    right: auto;
    top: 0.8rem;
    bottom: 0.8rem;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(43, 214, 196, 0.62), rgba(139, 108, 255, 0.22));
  }

  .timeline-list article {
    min-height: auto;
    padding: 0.9rem 1rem 0.9rem 2.4rem;
  }

  .timeline-list article::before {
    top: 1.25rem;
    left: 0.72rem;
  }

  .position-bridge::before,
  .position-bridge::after {
    left: 50%;
    right: auto;
    width: 1px;
    height: 28px;
    border: 0;
    border-left: 1px solid rgba(43, 214, 196, 0.42);
    border-radius: 0;
  }

  .position-card.solution {
    width: 100%;
  }

  .position-card:not(:last-child)::after {
    top: calc(100% + 0.45rem);
    left: 50%;
    width: 1px;
    height: 0.9rem;
    background: linear-gradient(180deg, rgba(43, 214, 196, 0.55), rgba(139, 108, 255, 0.16));
  }

  .position-card:not(:last-child)::before {
    top: calc(100% + 0.2rem);
    left: calc(50% - 3px);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(3.7rem, 18vw, 5.5rem);
  }

  .hero-lede {
    font-size: 1.75rem;
  }

  .voice-stage {
    min-height: 390px;
  }

  .room-card {
    inset: 5% 0 auto;
    min-height: 310px;
    padding: 1.25rem;
  }

  .room-card h2 {
    font-size: 2.2rem;
  }

  .waveform {
    height: 92px;
  }

  .room-a {
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
  }

  .room-b {
    display: none;
  }

  .section {
    width: 100%;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .site-footer {
    display: grid;
    align-content: center;
    gap: 0.2rem;
  }
}
