@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

/* ────────────────────────── 토큰 ──────────────────────────
   다크 전용. 라이트 테마는 만들지 않는다 (프로젝트 결정).      */
:root {
  --bg:            #08080c;
  --bg-soft:       #0d0d14;
  --surface:       rgba(255, 255, 255, 0.038);
  --surface-hover: rgba(255, 255, 255, 0.065);
  --border:        rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text:      #f4f4f8;
  --text-mid:  #b9b9c6;
  --text-dim:  #85859a;

  --violet: #8b5cf6;
  --blue:   #4f7dff;
  --cyan:   #22d3ee;

  --grad: linear-gradient(115deg, var(--violet) 0%, var(--blue) 55%, var(--cyan) 100%);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;

  --shell:  min(1180px, 100% - 3rem);
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* 한국어는 어절 단위로 끊어야 읽힌다. 없으면 "화면을 그리 / 는 방식" 처럼 잘린다 */
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.28; letter-spacing: -0.035em; margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ────────────────────────── 오로라 배경 ────────────────────────── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora::after {
  /* 색 얼룩 위에 얇은 그레인을 얹어 그라데이션 밴딩을 감춘다 */
  content: "";
  position: absolute;
  inset: -50%;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.aurora-violet {
  width: 46vw; height: 46vw; min-width: 380px; min-height: 380px;
  top: -14vw; left: -8vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.75), transparent 68%);
}
.aurora-blue {
  width: 52vw; height: 52vw; min-width: 420px; min-height: 420px;
  top: 32vh; right: -16vw;
  background: radial-gradient(circle, rgba(79, 125, 255, 0.55), transparent 68%);
}
.aurora-cyan {
  width: 38vw; height: 38vw; min-width: 320px; min-height: 320px;
  top: 118vh; left: 12vw;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.32), transparent 70%);
}

/* ────────────────────────── 헤더 ────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: var(--shell);
  margin: 0 auto;
  padding: 0.85rem 1.15rem;
  margin-top: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(12, 12, 18, 0.62);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-right: auto;
}
.brand-mark {
  width: 30px; height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(139, 92, 246, 0.55));
}
.brand-mark.small { width: 24px; height: 24px; }
.brand-thin { font-weight: 400; color: var(--text-mid); }

.site-nav { display: flex; gap: 1.6rem; font-size: 15px; color: var(--text-mid); }
.site-nav a { transition: color 0.2s var(--ease); }
.site-nav a:hover { color: var(--text); }

/* ────────────────────────── 버튼 ────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.62rem 1.35rem;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              box-shadow 0.25s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); background: var(--surface-hover); }
.btn-sm { padding: 0.42rem 1rem; font-size: 14px; }
.btn-lg { padding: 0.85rem 1.9rem; font-size: 16.5px; }

.btn-primary {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 26px rgba(102, 106, 255, 0.36);
}
.btn-primary:hover { box-shadow: 0 10px 34px rgba(120, 110, 255, 0.5); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--surface); }

/* ────────────────────────── 공통 텍스트 ────────────────────────── */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.9rem;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { color: var(--text-mid); font-size: 18px; max-width: 62ch; }

.ticks { display: grid; gap: 0.55rem; margin-top: 1.4rem; color: var(--text-mid); font-size: 16px; }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad);
}

/* ────────────────────────── 레이아웃 ────────────────────────── */
main { width: var(--shell); margin: 0 auto; }

.hero { padding: 6.5rem 0 3rem; text-align: center; }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; }
.hero-sub {
  margin: 1.5rem auto 0;
  max-width: 46ch;
  font-size: clamp(17px, 2vw, 19.5px);
  color: var(--text-mid);
  white-space: pre-line;
}
.hero-cta { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.3rem;
  font-size: 14px;
  color: var(--text-dim);
  font-family: var(--mono);
}
.dot-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.28; } }

.hero-shot { margin-top: 3.6rem; }

.section { padding: 6.5rem 0; }
.section-head { max-width: 68ch; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.05rem); margin-bottom: 1.1rem; }

.split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3.2rem;
}
.split-reverse .shot-frame { order: 2; }
.split-text h3 { font-size: 1.6rem; margin-bottom: 0.9rem; }
.split-text p { color: var(--text-mid); }

/* ────────────────────────── 스크린샷 프레임 ──────────────────────────
   스크린샷 자체가 창 그림자를 품고 있어 테두리는 얇게만 얹는다. */
.shot-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.shot-frame::after {
  /* 위쪽 가장자리 하이라이트 — 유리판 느낌 */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 22%);
}
.hero-shot { box-shadow: 0 40px 120px rgba(70, 60, 190, 0.35), 0 30px 90px rgba(0, 0, 0, 0.7); }

.shot-caption {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-dim);
}

/* 아직 없는 스크린샷 자리 — 파일이 채워지면 JS가 이 상태를 걷어낸다 */
.shot-placeholder { display: none; }
.shot-frame.is-missing { aspect-ratio: 16 / 10; }
.shot-frame.is-missing img { display: none; }
.shot-frame.is-missing .shot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 100%;
  padding: 2rem;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: inherit;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.014) 0 12px, transparent 12px 24px);
  color: var(--text-dim);
}
.ph-icon { font-size: 30px; color: var(--violet); opacity: 0.75; }
.ph-title { font-size: 16px; font-weight: 600; color: var(--text-mid); }
.shot-placeholder code {
  font-family: var(--mono);
  font-size: 13px;
  padding: 0.28rem 0.65rem;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--cyan);
}
.ph-hint { font-size: 13.5px; }

/* ────────────────────────── 준비 중 (커뮤니티) ────────────────────────── */
.soon-section { padding-top: 1rem; }
.soon-card { position: relative; }
/* 흐름 안에 두어 제목을 밀어낸다 — absolute 로 띄우면 제목 위에 겹친다 */
.soon-badge {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.16rem 0.62rem;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  color: #c4aaff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.soon-card a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.soon-note {
  margin-top: 1.6rem;
  padding: 1.3rem clamp(1.3rem, 3vw, 2rem);
  text-align: center;
  font-size: 15px;
  color: var(--text-dim);
}
.soon-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ────────────────────────── 라이트박스 ────────────────────────── */
.is-zoomable { cursor: zoom-in; }

/* ⚠ `hidden` 속성의 기본값(display:none)은 UA 스타일이라 아래 .lightbox 규칙에
   명시도로 진다. 이 한 줄이 없으면 투명한 오버레이가 페이지 위에 상시로 깔려
   모든 클릭을 삼킨다 (캐러셀 화살표·스크린샷 클릭이 통째로 죽는다). */
.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4rem, 2vw, 1.4rem);
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 5, 9, 0.9);
  backdrop-filter: blur(26px) saturate(130%);
  -webkit-backdrop-filter: blur(26px) saturate(130%);
  opacity: 0;
  transition: opacity 0.24s var(--ease);
}
.lightbox.is-open { opacity: 1; }

.lb-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
  min-width: 0;
  /* 무대는 남는 자리를 다 쓰되, 이미지는 아래 상한을 넘지 않는다 */
  flex: 1 1 auto;
  justify-content: center;
}
.lb-img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.75);
  animation: lb-in 0.28s var(--ease);
}
@keyframes lb-in {
  from { opacity: 0; transform: scale(0.975); }
  to { opacity: 1; transform: none; }
}
.lb-caption {
  max-width: 76ch;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}

.lb-btn {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.14); transform: scale(1.06); }
.lb-close {
  position: absolute;
  top: clamp(0.8rem, 2.5vw, 1.6rem);
  right: clamp(0.8rem, 2.5vw, 1.6rem);
  font-size: 17px;
  z-index: 1;
}

@media (max-width: 640px) {
  .lb-prev, .lb-next {
    position: absolute;
    bottom: clamp(0.8rem, 3vw, 1.6rem);
  }
  .lb-prev { left: calc(50% - 58px); }
  .lb-next { right: calc(50% - 58px); }
  .lb-img { max-height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox { transition: none; }
  .lb-img { animation: none; }
}

/* ────────────────────────── 글래스 카드 ────────────────────────── */
.glass {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.1rem;
  margin-bottom: 3.4rem;
}
.card {
  position: relative;
  padding: 1.7rem;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card::before {
  /* 호버 시 위쪽에 얇게 켜지는 네온 선 */
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.16rem; margin-bottom: 0.6rem; }
.card p { color: var(--text-mid); font-size: 15.5px; }

/* ────────────────────────── 속도 스탯 ────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
}
.stat { padding: clamp(1.7rem, 3vw, 2.4rem); }
/* `.stat p` 보다 명시도가 낮으면 본문 크기에 눌린다 — 반드시 `.stat` 을 앞에 붙일 것 */
.stat .stat-num {
  font-family: var(--mono);
  font-size: clamp(3.2rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.1rem;
}
.stat-unit { font-size: 0.42em; letter-spacing: 0; margin-left: 0.12em; }
.stat h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.stat p { color: var(--text-mid); font-size: 15.5px; }

/* 기능 이름 옆 작은 단서 (지원 기종 등) */
.tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  color: #c4aaff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

/* ────────────────────────── 캐러셀 ────────────────────────── */
.carousel {
  position: relative;
  /* 슬라이드 폭은 아래 padding 계산의 근거이기도 하다 — 한 곳에서만 정한다 */
  --slide-w: min(860px, 84vw);
}
.carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* 뷰포트를 화면 폭까지 흘려 보내 옆 슬라이드가 가장자리에서 잘려 보이게 한다.
     ⚠ 좌우 패딩은 반드시 **슬라이드 폭** 기준이어야 첫·마지막 슬라이드도 중앙에 온다.
     콘텐츠 폭(50%) 기준으로 잡으면 그 차이만큼 스크롤이 모자라, 넓은 화면에서
     마지막 슬라이드가 영영 중앙에 닿지 못한다. */
  margin-inline: calc(50% - 50vw);
  padding-inline: calc((100vw - var(--slide-w)) / 2);
  border-radius: var(--radius-lg);
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-viewport:focus-visible { outline: 2px solid var(--violet); outline-offset: 6px; }

.carousel-track { display: flex; gap: 1.6rem; }
.slide {
  flex: 0 0 var(--slide-w);
  scroll-snap-align: center;
  display: grid;
  gap: 1.4rem;
  opacity: 0.42;
  transform: scale(0.965);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.slide.is-active { opacity: 1; transform: scale(1); }
.slide-text { max-width: 60ch; }
.slide-text .slide-index {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.35rem;
}
.slide-text h3 { font-size: 1.42rem; margin-bottom: 0.6rem; }
.slide-text p { color: var(--text-mid); font-size: 16px; white-space: pre-line; }

.carousel-btn {
  position: absolute;
  top: clamp(120px, 22vw, 260px);
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(14, 14, 22, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text);
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.carousel-btn:hover { background: rgba(30, 30, 46, 0.9); transform: scale(1.06); }
.carousel-btn[disabled] { opacity: 0.25; cursor: default; transform: none; }
.carousel-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel-btn.prev { left: -12px; }
.carousel-btn.next { right: -12px; }

.carousel-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; }
.carousel-dots button {
  width: 26px; height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.carousel-dots button.is-active { width: 42px; background: var(--grad); }

/* ────────────────────────── 화면 톤 밴드 ────────────────────────── */
.tone-section { padding-top: 0; }
.tone-line {
  padding: clamp(1.2rem, 2.6vw, 1.8rem) clamp(1.4rem, 3vw, 2.4rem);
  text-align: center;
  font-size: clamp(15.5px, 1.5vw, 17px);
  color: var(--text-mid);
}
.tone-line strong {
  color: var(--text);
  font-weight: 700;
}

/* ────────────────────────── 다운로드 ────────────────────────── */
.download-panel { padding: clamp(2.2rem, 5vw, 3.6rem); text-align: center; }
.download-panel h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.download-panel .lead { margin: 0 auto; }

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2.6rem auto 0;
  /* 카드 3장(Windows · Apple Silicon · Intel)이 한 줄에 들어갈 폭.
     유니버설 빌드라 2장으로 합쳐지면 auto-fit 이 알아서 2열로 채운다. */
  max-width: 830px;
}
.dl-card {
  position: relative;
  display: grid;
  gap: 0.28rem;
  padding: 1.4rem 1.6rem;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.dl-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-hover);
}
.dl-card.is-recommended { border-color: rgba(139, 92, 246, 0.55); box-shadow: 0 0 28px rgba(139, 92, 246, 0.18); }
.dl-card.is-started { border-color: rgba(126, 231, 168, 0.55); }
.dl-card.is-started .dl-file { color: #7ee7a8; }
.dl-card.is-unavailable { opacity: 0.45; pointer-events: none; }
.dl-os { font-size: 1.15rem; font-weight: 700; }
.dl-arch { font-size: 13.5px; color: var(--text-mid); }
/* 버전만 들어가는 게 아니라 "최신 버전 받기" 같은 한국어 문구도 온다 — mono 는 안 맞는다 */
.dl-file { font-size: 13px; color: var(--text-dim); }
.dl-go {
  position: absolute;
  right: 1.4rem; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-dim);
}
.download-note { margin-top: 1.8rem; font-size: 14.5px; color: var(--text-dim); }
.download-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ────────────────────────── 푸터 ────────────────────────── */
.site-footer {
  width: var(--shell);
  margin: 0 auto;
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 14.5px;
}
.foot-brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; color: var(--text-mid); }
.foot-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.foot-nav a:hover { color: var(--text); }

/* ────────────────────────── 변경사항 페이지 ────────────────────────── */
.page-head { padding: 5rem 0 2.5rem; max-width: 66ch; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.1rem; }

.channel-switch { display: flex; gap: 0.5rem; margin-top: 2rem; }
.chip {
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-mid);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.chip:hover { color: var(--text); background: var(--surface-hover); }
.chip.is-active {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
  box-shadow: 0 4px 18px rgba(102, 106, 255, 0.32);
}

.changelog { display: grid; gap: 1.2rem; padding-bottom: 5rem; }
.cl-status { color: var(--text-dim); padding: 2rem 0; }

.cl-entry { padding: 1.9rem clamp(1.3rem, 3vw, 2.2rem); }
.cl-head { display: flex; align-items: baseline; gap: 0.85rem; flex-wrap: wrap; }
.cl-version {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cl-badge {
  padding: 0.14rem 0.6rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cl-badge.beta { background: rgba(34, 211, 238, 0.16); color: var(--cyan); }
.cl-date { margin-left: auto; font-size: 14px; color: var(--text-dim); }
.cl-name { margin-top: 0.5rem; font-size: 1.05rem; font-weight: 600; color: var(--text); }
.cl-summary { margin-top: 0.5rem; color: var(--text-mid); white-space: pre-line; }
.cl-empty { margin-top: 0.8rem; color: var(--text-dim); font-size: 15px; }

.cl-group {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 0.9rem;
  margin-top: 1.4rem;
  align-items: start;
}
.cl-type {
  justify-self: start;
  padding: 0.2rem 0.6rem;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid transparent;
}
.type-added    { color: #7ee7a8; background: rgba(126, 231, 168, 0.11); border-color: rgba(126, 231, 168, 0.24); }
.type-improved { color: #8ab4ff; background: rgba(138, 180, 255, 0.11); border-color: rgba(138, 180, 255, 0.24); }
.type-changed  { color: #d5b3ff; background: rgba(213, 179, 255, 0.11); border-color: rgba(213, 179, 255, 0.24); }
.type-fixed    { color: #ffca7a; background: rgba(255, 202, 122, 0.11); border-color: rgba(255, 202, 122, 0.24); }
.type-removed  { color: #ff9b9b; background: rgba(255, 155, 155, 0.11); border-color: rgba(255, 155, 155, 0.24); }
.type-security { color: #6fe4d8; background: rgba(111, 228, 216, 0.11); border-color: rgba(111, 228, 216, 0.24); }

.cl-list { display: grid; gap: 0.42rem; color: var(--text-mid); font-size: 15.5px; }
.cl-list li { position: relative; padding-left: 0.95rem; }
.cl-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

@media (max-width: 620px) {
  .cl-group { grid-template-columns: 1fr; gap: 0.5rem; }
  .cl-date { margin-left: 0; width: 100%; }
}

/* ────────────────────────── 등장 애니메이션 ────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .slide { opacity: 1; transform: none; }
}

/* ────────────────────────── 반응형 ────────────────────────── */
@media (max-width: 900px) {
  :root { --shell: min(1180px, 100% - 2rem); }
  body { font-size: 16px; }
  .site-nav { display: none; }
  .split, .split-reverse { grid-template-columns: 1fr; gap: 2rem; }
  .split-reverse .shot-frame { order: 0; }
  .hero { padding: 4rem 0 2rem; }
  .section { padding: 4.5rem 0; }
  .carousel-btn { top: auto; bottom: -70px; }
  .carousel-btn.prev { left: calc(50% - 58px); }
  .carousel-btn.next { right: calc(50% - 58px); }
  .carousel-dots { margin-top: 5.5rem; }
  .carousel { --slide-w: 88vw; }
}
