.index-hero {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.28em;
  color: var(--accent-primary);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.index-hero em {
  font-style: normal;
  white-space: nowrap; 
  flex-shrink: 0;     
}

@media (max-width: 760px) {
  .index-hero {
    flex-direction: column;
    align-items: center;
    gap: 0.1em;
  }
}

/* 3D 달력 플립 컨테이너: 고정 폭(min-width) 제거 */
.calendar-flip {
  position: relative;
  display: inline-grid;
  place-items: center;
  perspective: 800px;
  height: 1.15em;
  vertical-align: baseline;
  transition: width 0.45s var(--ez-out);
}

/* 달력 낱장 카드 */
.flip-card {
  grid-area: 1 / 1;
  position: absolute;
  display: inline-block;
  white-space: nowrap;
  color: var(--accent-primary);
  transform-origin: 50% 100%;
  backface-visibility: hidden;
  opacity: 0;
  transform: rotateX(90deg) translateY(12px);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  pointer-events: none;
}

/* 현재 보여지는 단어: relative로 실제 단어 폭만큼만 자리 차지 */
.flip-card.active {
  position: relative;
  opacity: 1;
  transform: rotateX(0deg) translateY(0);
  pointer-events: auto;
}

/* 다음 장으로 넘어가면서 아래로 접히는 단어 */
.flip-card.exit {
  opacity: 0;
  transform: rotateX(-90deg) translateY(-12px);
  transition: transform 0.5s var(--ez-out), opacity 0.3s ease;
}

.gl {
  position: absolute;
  top: 0;
  font: 800 var(--s, var(--fs-title)) var(--font-body);
  color: var(--accent-primary);
  opacity: .09;
  animation: dr linear infinite;
}

@keyframes dr {
  from { transform: translateY(105vh) rotate(0); }
  to { transform: translateY(-15vh) rotate(50deg); }
}

.mq {
  overflow: hidden;
  padding: var(--s2) 0;
  margin-top: var(--s3);
  border-block: 1px solid var(--border-subtle);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.mq div {
  display: flex;
  width: max-content;
  animation: mq 35s linear infinite;
  font: 800 var(--fs-title) var(--font-body);
}

.mq span {
  display: flex;
  align-items: center;
  gap: var(--s6);
  padding-right: var(--s6);
  white-space: nowrap;
}

.mq span::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-primary);
}

.mq span:nth-child(even) { color: var(--accent-primary); }
.mq:hover div { animation-play-state: paused; }

@keyframes mq {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Sección 2: Identidad (Manifiesto - SOMOS 잉크 차오르는 효과 복원)
   ========================================================================== */

.identidad {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s11) 0; /* 화면이 매우 작은 기기를 대비한 최소 상하 여백 */
}

.identidad-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   Sección 2: Identidad (애플식 듀얼 레이어 Clip-path Inset)
   ========================================================================== */
.somos-title {
  position: relative;
  display: inline-block;
  font-size: clamp(4rem, 13vw, 9.5rem);
  font-weight: 800;
  max-width: none;
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin-bottom: var(--s4);
  padding: 0 0.08em;
  color: color-mix(in srgb, var(--text-primary) 14%, transparent);
}

.somos-title::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  padding: 0 0.08em;
  pointer-events: none;
  background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-highlight) 50%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-clip-path: inset(-0.08em 100% -0.08em 0);
  clip-path: inset(-0.08em 100% -0.08em 0);
  transition: clip-path 1.4s var(--ez-out), -webkit-clip-path 1.4s var(--ez-out);
  will-change: clip-path;
}

.somos-title.in::before {
  -webkit-clip-path: inset(-0.08em 0% -0.08em 0);
  clip-path: inset(-0.08em 0% -0.08em 0);
}
.somos-title::after {
  margin: var(--s2) auto 0;
}

.identidad-lead {
  font-size: clamp(var(--fs-sub), 2.6vw, var(--fs-title));
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 28ch;
  margin-bottom: var(--s2);
}

.identidad-sub {
  font-size: var(--fs-sub);
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   Sección 3: Sobre Mí (Resumen de Autoridad)
   ========================================================================== */
.section-authority {
  padding: var(--space-section-y) 0;
}

.authority-container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0 var(--s7);
  align-items: stretch;
}

.authority-content {
  display: contents; /* 자식 요소(제목, 본문묶음, 버튼)가 그리드 행에 직접 참여하도록 함 */
}
.authority-title,
.authority-body,
.authority-cta {
  grid-column: 1; /* 모두 좌측(1열)에 배치 */
}
.authority-title {
  font-size: clamp(var(--fs-hero), 7vw, var(--fs-hero-impact));
  max-width: none;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--s2);
  grid-column: 1
}

.authority-desc {
  font-size: var(--fs-title);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: var(--s2);
}

.authority-cta {
  margin-top: var(--s4); /* ★ 원래 proof-list에 있던 하단 여백(32px)을 버튼 위쪽으로 이동 */
}

.proof-list {
  display: grid;
  gap: var(--s2);
  margin-bottom: 0;
}

.proof-item {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: var(--s3);
  transition: transform .35s var(--ez-out), border-color .35s, box-shadow .35s;
}

.proof-item:hover {
  transform: translateX(6px);
  border-color: var(--accent-primary);
  box-shadow: -6px 8px 0 var(--bg-subtle);
}

.proof-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), color-mix(in srgb, var(--accent-primary) 12%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.proof-item:hover::after {
  opacity: 1;
}

.proof-num {
  font-size: var(--fs-sub);
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1.2;
  min-width: 2.2ch;
}

.proof-item strong {
  display: block;
  font-size: var(--fs-sub);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.proof-item span {
  display: block;
  font-size: var(--fs-body);
  color: var(--text-secondary);
}

/*tutor*/
.authority-visual {
  grid-column: 2; /* 우측 컬럼(2열) */
  grid-row: 2;    /* ★ 핵심: 정확히 2행(.authority-body)과 시작·끝 높이를 공유! */
}

.tutor-card-tilt {
  perspective: 1000px;
  height: 100%;
}

.tutor-card-inner {
  position: relative;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 48px -18px rgba(15, 23, 42, 0.16);
  transition: transform .4s var(--ez-out), border-color .35s;
}

.tutor-card-inner:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
}

.tutor-img {
  width: 100%;
  flex: 1 1 0;
  height: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center bottom;
  background: #ffffff;
  display: block;
}

.tutor-badge {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-top: 1px solid transparent;
  padding: var(--s2) var(--s3);
  gap: var(--s1);
  font-size: var(--fs-micro);
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.tutor-badge strong {
  font-family: var(--font-head);
  font-size: var(--fs-sub);
  color: var(--text-primary);
  line-height: 1.2;
}
.tutor-badge span{
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  color: var(--text-secondary);
}

@media (max-width: 760px) {
  .authority-container {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }

  /* 1. 데스크톱에서 고정했던 2열/2행 좌표를 풀어 모바일에서 깔끔하게 1열로 쌓이게 함 */
  /* 2. 모바일 동선 최적화: 제목 -> 강사 사진 -> 01·02·03 스펙 -> 버튼 순서로 배치 */
  .authority-title {
    grid-column: 1 / -1;
    order: 1;
    margin-bottom: 0;
  }

  .authority-visual {
    grid-column: 1 / -1;
    grid-row: auto;
    order: 2;
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
  }

  .authority-body {
    grid-column: 1 / -1;
    order: 3;
  }

  .authority-cta {
    grid-column: 1 / -1;
    order: 4;
    margin-top: var(--s1);
  }

  /* 3. 데스크톱용 height: 0 트릭을 해제하고 4:5 프로필 비율을 복원하여 사진 증발 방지 */
  .tutor-card-tilt,
  .tutor-card-inner {
    height: auto;
  }

  .tutor-img {
    flex: none;
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

/* ==========================================================================
   Sección 5: Recursos (Apple Bento Showcase)
   ========================================================================== */
.section-recursos {
  padding: var(--space-section-y) 0;
}

.recursos-head {
  margin-bottom: var(--s6);
}

.recursos-title {
  font-size: clamp(var(--fs-hero), 7vw, var(--fs-hero-impact));
  max-width: none;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--s2);
}

.recursos-lead {
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* 12컬럼 비대칭 벤토 그리드 */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s3);
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  padding: var(--s5) var(--s4);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .4s var(--ez-out), border-color .35s, box-shadow .35s;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  box-shadow: 0 24px 48px -18px color-mix(in srgb, var(--accent-primary) 18%, transparent);
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--x, 50%) var(--y, 50%), color-mix(in srgb, var(--accent-primary) 12%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-info h3 {
  font-size: var(--fs-title);
  color: var(--text-primary);
  margin: var(--s2) 0 var(--s1);
}

.bento-info p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  margin-bottom: var(--s4);
}

/* [큰 박스 A] PDF 아카이브 (7칸) + 3D Fan-out Deck */
.bento-pdf {
  grid-column: span 7;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--s3);
  align-items: center;
}

.pdf-fan-deck {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
}

.pdf-sheet {
  position: absolute;
  width: 136px;
  height: 176px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: var(--s2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 32px -12px rgba(15, 23, 42, 0.14);
  transform-origin: 50% 100%;
  transition: transform .75s var(--ez-out), border-color .35s;
}

.sheet-badge {
  font-size: var(--fs-micro);
  font-weight: 800;
  color: var(--accent-primary);
}

.pdf-sheet strong {
  font-size: var(--fs-title);
  color: var(--text-primary);
  line-height: 1;
}

.pdf-sheet small {
  font-size: var(--fs-micro);
  color: var(--text-secondary);
  font-weight: 600;
}

/* 스크롤 도착(.in) 시 부채꼴(Fan-out)로 촤르륵 펼쳐짐 */
.bento-pdf.in .sheet-left {
  transform: translateX(-42px) translateY(8px) rotate(-14deg);
}

.bento-pdf.in .sheet-center {
  transform: translateY(-10px) scale(1.05);
  background: var(--bg-surface);
  border-color: var(--accent-primary);
  z-index: 2;
}

.bento-pdf.in .sheet-right {
  transform: translateX(42px) translateY(8px) rotate(14deg);
}

/* 호버 시 부채꼴이 한층 더 넓게 펼쳐지는 마이크로 인터랙션 */
.bento-pdf:hover .sheet-left {
  transform: translateX(-56px) translateY(4px) rotate(-20deg);
}

.bento-pdf:hover .sheet-center {
  transform: translateY(-18px) scale(1.08);
}

.bento-pdf:hover .sheet-right {
  transform: translateX(56px) translateY(4px) rotate(20deg);
}

/* [큰 박스 B] 팟캐스트 스테이션 (5칸) + Live Waveform */
.bento-podcast {
  grid-column: span 5;
  background: linear-gradient(160deg, var(--bg-feature-dark), var(--bg-feature-mid) 65%, var(--bg-feature-glow));
  border-color: transparent;
  color: var(--text-on-feature);
}

.bento-podcast .bento-info h3 { color: var(--text-on-feature); }
.bento-podcast .bento-info p { color: var(--text-on-feature-muted); }

.bento-podcast .peek-tag {
  background: color-mix(in srgb, #fff 16%, transparent);
  color: #fff;
}

.podcast-wave-box {
  display: flex;
  align-items: center;
  gap: var(--s2);
  background: color-mix(in srgb, #fff 10%, transparent);
  border: 1px solid color-mix(in srgb, #fff 18%, transparent);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: var(--s2) var(--s3);
  margin-top: auto;
}

.play-orb {
  width: var(--s6);
  height: var(--s6);
  border-radius: 50%;
  background: var(--accent-secondary);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform .3s var(--ez-out);
}

.play-orb:hover {
  transform: scale(1.1);
}

.wave-meta {
  flex: 1;
}

.wave-meta strong {
  display: block;
  font-size: var(--fs-micro);
  color: #fff;
  margin-bottom: var(--s1);
}

.waveform {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
}

.waveform i {
  display: block;
  width: 4px;
  height: 24px;
  border-radius: 99px;
  background: var(--accent-secondary);
  transform-origin: center;
  will-change: transform, opacity;
  animation: eq 1.2s ease-in-out infinite alternate;
  animation-delay: calc(var(--w) * 140ms);
}

@keyframes eq {
  0%   { transform: scaleY(0.25); opacity: .5; }
  100% { transform: scaleY(1);    opacity: 1; }
}

/* [작은 박스 C-1, C-2] 스탯 카운터 (각 4칸) */
.bento-stat {
  grid-column: span 4;
  justify-content: center;
}

.stat-num {
  font-size: clamp(var(--fs-hero), 5vw, var(--fs-hero-impact));
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent-primary);
  margin-bottom: var(--s2);
}

.bento-stat strong {
  display: block;
  font-size: var(--fs-sub);
  color: var(--text-primary);
  margin-bottom: var(--s1);
}

.bento-stat p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
}

/* [작은 박스 D] 전체 자료실 이동 타일 (4칸) */
.bento-cta-tile {
  grid-column: span 4;
  background: var(--bg-subtle);
  border-color: transparent;
}

.bento-cta-tile h3 {
  font-size: var(--fs-title);
  color: var(--text-primary);
  margin-top: var(--s2);
}

.tile-arrow {
  width: var(--s6);
  height: var(--s6);
  border-radius: 50%;
  background: var(--accent-primary);
  color: #fff;
  display: grid;
  place-items: center;
  align-self: flex-end;
  margin-top: var(--s4);
  transition: transform .35s var(--ez-out);
}

.bento-cta-tile:hover .tile-arrow {
  transform: translate(4px, -4px) scale(1.08);
}

@media(max-width: 960px) {
  .bento-pdf,
  .bento-podcast {
    grid-column: span 12;
  }
  .bento-stat,
  .bento-cta-tile {
    grid-column: span 6;
  }
}

@media(max-width: 760px) {
  .bento-pdf {
    grid-template-columns: 1fr;
  }
  .bento-stat,
  .bento-cta-tile {
    grid-column: span 12;
  }
}

/* ==========================================================================
   Sección 6: ÚNETE (Final CTA - Dual Core 3D Engine)
   ========================================================================== */

/* 1. 섹션 전체 여백 및 중앙 정렬 (배경색 반전 없이 깔끔한 호흡 유지) */
.section-unete {
  padding: var(--s12) 0 var(--s14);
  position: relative;
}

.unete-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 2. 상단 타이포그래피: 첫 페이지(Hero)급 스케일과 블루->오렌지 그라데이션 */
.unete-head {
  margin-bottom: var(--s6);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.unete-title {
  font-size: clamp(var(--fs-hero), 7vw, var(--fs-hero-impact));
  max-width: none;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: var(--s2) 0 var(--s2);
  color: var(--text-primary);
}

/* 기존 h2 밑줄 장식 제거 (중앙 대형 타이틀이므로 깔끔하게 유지) */
.unete-title::after {
  display: none;
}

/* Vívelo. 텍스트에 브랜드 블루 -> 오렌지 그라데이션 착색 */
.unete-grad {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-highlight) 50%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-right: 0.06em; /* 기울임이나 글자 잘림 방지 */
}

.unete-sub {
  font-size: var(--fs-sub);
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 48ch;
  line-height: 1.45;
}

/* 3. 중앙 3D 스테이지 & 은은한 앰비언트 글로우(Ambient Glow) 그림자 */
.unete-stage {
  width: 100%;
  max-width: 920px;
  perspective: 1200px; /* 3D 기울기 원근감 */
  margin-bottom: var(--s6);
  position: relative;
}

/* 카드 뒤쪽 바닥에 깔리는 부드러운 듀얼 오로라 빛무리 */
.unete-stage::before {
  content: "";
  position: absolute;
  inset: 12% 8% -6%;
  background: linear-gradient(
  90deg,
  color-mix(in srgb, var(--accent-primary) 22%, transparent) 0%,
  color-mix(in srgb, var(--accent-highlight) 22%, transparent) 50%,
  color-mix(in srgb, var(--accent-secondary) 22%, transparent) 100%
);
  filter: blur(48px);
  border-radius: 40px;
  z-index: -1;
  opacity: 0.75;
  transition: opacity .5s var(--ez-out), transform .5s var(--ez-out);
}

.unete-stage:hover::before {
  opacity: 1;
  transform: scale(1.03);
}

/* 4. 듀얼 코어 카드 본체 (JS에서 --rx, --ry 변수로 3D 각도 제어) */
.dual-core-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  background: color-mix(in srgb, var(--bg-surface) 88%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 36px;
  padding: var(--s5);
  box-shadow: 0 28px 60px -20px rgba(15, 23, 42, 0.12);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.18s ease-out, border-color 0.35s, box-shadow 0.35s;
  overflow: hidden;
  text-align: left;
}

.dual-core-card:hover {
  border-color: color-mix(in srgb, var(--accent-primary) 45%, var(--border-subtle));
  box-shadow: 0 36px 72px -20px rgba(37, 99, 235, 0.18);
}

/* 마우스를 따라다니는 홀로그램 유리 반사광 (Glare) */
.core-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--gx, 50%) var(--gy, 50%),
    color-mix(in srgb, var(--accent-primary) 12%, rgba(255, 255, 255, 0.35)),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: 3;
}

.dual-core-card:hover .core-glare {
  opacity: 1;
}

/* 5. 좌/우 코어 패널 공통 레이아웃 */
.core-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s3);
  position: relative;
  z-index: 2;
}

.core-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s1);
}

.core-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-micro);
  font-weight: 800;
  color: var(--accent-secondary);
  letter-spacing: 0.04em;
}

.core-badge-blue {
  color: var(--accent-primary);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-secondary);
  animation: pu 1.8s infinite;
}

.core-tag {
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 99px;
}

/* 6. 좌측 코어 비주얼 (실시간 피드백 캡슐 & 파형) */
.core-visual {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: var(--s2) var(--s3);
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s1);
}

.chat-pill {
  display: flex;
  align-items: center;
  gap: var(--s1);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 99px;
  padding: 6px 12px 6px 8px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.chat-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: var(--fs-micro);
  font-weight: 800;
  flex: none;
}

.chat-Wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.chat-Wave i {
  width: 3px;
  height: 15px;
  border-radius: 99px;
  background: var(--accent-primary);
  transform-origin: center;
  will-change: transform, opacity;
  animation: eq 1s ease-in-out infinite alternate;
}
.chat-Wave i:nth-child(2n) { animation-delay: .2s; }
.chat-Wave i:nth-child(3n) { animation-delay: .4s; }

.chat-ok {
  margin-left: auto;
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--accent-primary);
  white-space: nowrap;
}

.chat-pill-sub {
  background: transparent;
  border-style: dashed;
  font-size: var(--fs-micro);
  color: var(--text-secondary);
  padding: 6px 12px;
}

/* 7. 우측 코어 비주얼 (Obsidian 신경망 노드 그래프) */
.brain-graph {
  padding: var(--s1) var(--s2);
  align-items: center;
}

.node-svg {
  width: 100%;
  height: 92px;
  overflow: visible;
}

.synapse {
  stroke: var(--border-subtle);
  stroke-width: 1.8;
  stroke-dasharray: 4 4;
  animation: dashFlow 12s linear infinite;
}

@keyframes dashFlow {
  to { stroke-dashoffset: -48; }
}

.node-dot {
  fill: var(--bg-surface);
  stroke: var(--accent-primary);
  stroke-width: 3;
}

.node-main {
  fill: var(--accent-primary);
}

.node-accent {
  fill: var(--accent-secondary);
  stroke: var(--accent-secondary);
}

.node-txt {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  fill: var(--text-secondary);
  text-anchor: middle;
}

/* 8. 중앙 브릿지 (두 엔진을 이어주는 코어 축) */
.core-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--s4);
  position: relative;
  z-index: 2;
}

.bridge-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, transparent, var(--border-subtle), transparent);
}

.bridge-orb {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-highlight) 50%, var(--accent-secondary) 100%);
  color: var(--bg-surface);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: var(--fs-body);
  box-shadow: 0 8px 20px -4px color-mix(in srgb, var(--accent-primary) 45%, transparent);
  margin: var(--s1) 0;
}

.core-meta h3 {
  font-size: var(--fs-sub);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.core-meta p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
}

/* 9. 하단 CTA 버튼 (시원한 크기감과 화살표 인터랙션) */
.btn-unete {
  padding: var(--s2) var(--s5);
  font-size: var(--fs-sub);
  font-weight: 700;
  box-shadow: 0 14px 32px -10px color-mix(in srgb, var(--accent-primary) 45%, transparent);
}

@media(max-width: 960px) {
  .dual-core-card {
    grid-template-columns: 1fr;
    padding: var(--s4) var(--s3);
    gap: var(--s3);
  }
  .core-bridge {
    flex-direction: row;
    padding: var(--s1) 0;
  }
  .bridge-line {
    height: 2px;
    width: auto;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  }
  .bridge-orb {
    margin: 0 var(--s2);
  }
}
