/* 일사천리 공유오피스 메인 페이지
   색은 로고의 보라색(#6135E1)에서 시작합니다. */
:root {
  --purple: #6135E1;
  --purple-hover: #5026CC;
  --purple-deep: #3B1C99;
  --lavender: #EEE9FD;
  --lavender-2: #F7F5FE;
  --ink: #17142A;
  --gray-700: #48445C;
  --gray-500: #77738B;
  --gray-300: #CFCBDD;
  --gray-200: #E6E3EF;
  --gray-100: #F5F4F9;
  --white: #FFFFFF;
  --hot: #FF5A4E;
  --line-2: #00A84D;   /* 지하철 2호선 색, 실제 노선에 맞게 변경 */
  --tbd: #FFF1A8;      /* 채워야 할 정보 표시. 정보를 다 채우면 이 색을 transparent로 */

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(43, 22, 110, .18);
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(97, 53, 225, .45); outline-offset: 2px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 480px) { .container { padding-inline: 16px; } }

.tbd { background: var(--tbd); color: var(--ink); border-radius: 4px; padding: 0 .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: -.01em; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: var(--purple-hover); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--gray-300); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { background: var(--white); color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--lavender); }
.btn-ghost-light { background: var(--white); color: var(--ink); border-color: var(--gray-300); }

.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.badge-new { background: var(--hot); color: var(--white); }
.badge-best { background: var(--purple); color: var(--white); }

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--purple); }
.section-head { display: grid; gap: 12px; margin-bottom: 44px; max-width: 680px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; line-height: 1.3; letter-spacing: -.03em; text-wrap: balance; }
.section-desc { font-size: 17px; color: var(--gray-700); }
section { padding-block: 104px; }
@media (max-width: 720px) { section { padding-block: 72px; } .section-head { margin-bottom: 32px; } }

/* promo bar */
.promo { background: var(--ink); color: var(--white); font-size: 14px; }
.promo-inner { display: flex; align-items: center; gap: 12px; min-height: 44px; position: relative; padding-right: 48px; }
.promo-inner p { flex: 1; min-width: 0; }
.promo-sub { color: #B9B4CF; margin-left: 4px; }
.promo-link { font-weight: 700; color: #C9B8FF; white-space: nowrap; }
.promo-link::after { content: " →"; }
.promo-close { position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: #B9B4CF; }
.promo-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 640px) { .promo-sub, .promo-link { display: none; } .promo { font-size: 13px; } }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-bottom-color: var(--gray-200); box-shadow: 0 6px 20px -16px rgba(23, 20, 42, .4); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-symbol { height: 34px; width: auto; }
.brand-wordmark { height: 34px; width: auto; }
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 600; color: var(--gray-700); }
.nav a:hover { color: var(--purple); }
.nav-mobile-only { display: none; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--gray-700); }
.header-phone svg { width: 18px; height: 18px; fill: none; stroke: var(--purple); stroke-width: 2; stroke-linejoin: round; }
.menu-toggle { display: none; width: 40px; height: 40px; background: none; border: 0; padding: 10px 8px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1024px) {
  .header-phone { display: none; }
  .nav { gap: 22px; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .brand-symbol, .brand-wordmark { height: 28px; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 8px 16px 16px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--gray-100); font-size: 16px; color: var(--ink); }
  .nav a:last-child { border-bottom: 0; }
  .nav-mobile-only { display: block; }
}

/* hero */
.hero { padding-block: 72px 96px; background: linear-gradient(180deg, var(--lavender-2) 0%, var(--white) 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.eyebrow-chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--lavender); color: var(--purple); font-size: 14px; font-weight: 700; }
.hero h1 { font-size: clamp(40px, 5.8vw, 68px); line-height: 1.18; font-weight: 800; letter-spacing: -.045em; }
.hero h1 em { font-style: normal; color: var(--purple); }
.hero-lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--gray-700); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; color: var(--gray-700); }
.hero-checks li { display: inline-flex; align-items: center; gap: 6px; }
.hero-checks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

.hero-visual { position: relative; }
.hero-panel {
  position: relative; aspect-ratio: 1 / .92; max-width: 100%; border-radius: 32px; overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.16) 1.2px, transparent 1.4px) 0 0 / 22px 22px,
    radial-gradient(120% 90% at 85% 0%, #8B66FF 0%, transparent 60%),
    linear-gradient(160deg, var(--purple) 0%, var(--purple-deep) 100%);
  display: grid; place-items: center; box-shadow: 0 40px 80px -40px rgba(59, 28, 153, .6);
}
.hero-symbol { width: 52%; filter: drop-shadow(0 24px 30px rgba(20, 8, 70, .35)); }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-radius: 14px; background: var(--white); color: var(--ink);
  font-size: 14px; font-weight: 600; box-shadow: 0 16px 30px -14px rgba(20, 8, 70, .45); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.float-chip strong { font-weight: 800; color: var(--purple); }
.chip-seat { top: 9%; left: 7%; }
.chip-station { top: 46%; right: 6%; animation-delay: -2s; }
.chip-goal { bottom: 9%; left: 10%; animation-delay: -4s; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 4px rgba(255, 90, 78, .2); }
.line-badge { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--line-2); color: var(--white); font-size: 12px; font-weight: 800; flex: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-block: 48px 72px; }
  .hero-panel { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 0; padding: 0 16px; }
  .hero-panel { aspect-ratio: 1 / 1; border-radius: 24px; }
  .float-chip { font-size: 13px; padding: 10px 12px; }
  .chip-station { right: 4%; }
}

/* hero: full-screen background video */
:root { --promo-h: 44px; --mobilebar-h: 0px; }
@media (max-width: 860px) { :root { --mobilebar-h: calc(70px + env(safe-area-inset-bottom, 0px)); } }
.hero-video {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: calc(100vh - var(--header-h) - var(--promo-h) - var(--mobilebar-h));
  min-height: calc(100svh - var(--header-h) - var(--promo-h) - var(--mobilebar-h));
  padding-block: 64px; background: #2A1380; color: var(--white);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(34, 12, 110, .72) 0%, rgba(34, 12, 110, .38) 36%, rgba(34, 12, 110, 0) 58%); }
.hero-video .hero-inner { position: relative; z-index: 1; grid-template-columns: minmax(0, 600px); }
.hero-video .eyebrow-chip { background: rgba(255, 255, 255, .16); color: var(--white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-video h1 { color: var(--white); text-shadow: 0 2px 24px rgba(20, 6, 70, .25); }
.hero-video h1 em { color: #FFE58A; }
.hero-video .hero-lead { color: rgba(255, 255, 255, .88); }
.hero-video .btn-primary { background: var(--white); color: var(--purple); }
.hero-video .btn-primary:hover { background: var(--lavender); }
.hero-video .btn-ghost { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .55); }
.hero-video .btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .16); }
.hero-video .hero-checks { color: rgba(255, 255, 255, .9); }
.hero-video .hero-checks li::before { background-color: var(--white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%236135E1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* 세로 화면(휴대폰, 세로 태블릿): 세로 영상 + 문구는 아래쪽 */
@media (max-aspect-ratio: 1/1) {
  .hero-video { align-items: flex-end; padding-block: 0 36px; }
  .hero-bg { object-position: 50% 0%; }
  .hero-scrim { background: linear-gradient(0deg, rgba(30, 10, 95, .96) 0%, rgba(30, 10, 95, .78) 34%, rgba(30, 10, 95, 0) 58%); }
  .hero-video .hero-copy { gap: 18px; }
  .hero-video .hero-checks { display: none; }
}
@media (max-aspect-ratio: 1/1) and (max-width: 480px) {
  .hero-video h1 { font-size: 38px; }
  .hero-video .hero-lead { font-size: 15px; }
}
/* 키가 작은 휴대폰에서는 영상이 가려지지 않도록 소개 문장을 숨김 */
@media (max-aspect-ratio: 1/1) and (max-height: 720px) {
  .hero-video .hero-lead { display: none; }
}

/* about: 일·사·천·리 캐러셀 */
.about {
  position: relative; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(55% 45% at 90% 0%, rgba(139, 102, 255, .12) 0%, transparent 70%),
    linear-gradient(180deg, var(--lavender-2) 0%, var(--white) 55%);
  --edge: max(24px, calc((100vw - var(--container)) / 2 + 24px));
}
.about::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 1px 1px, rgba(97,53,225,.07) 1.2px, transparent 1.4px) 0 0 / 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, transparent 70%); }
.about > * { position: relative; }
.about-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.about .section-head { margin-bottom: 0; }
.car-btns { display: flex; gap: 10px; flex: none; }
.car-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--white); border: 1px solid var(--gray-300); color: var(--ink); transition: background-color .2s, border-color .2s, color .2s; }
.car-btn:hover { background: var(--purple); border-color: var(--purple); color: var(--white); }
.car-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.car-track {
  position: relative; display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 8px var(--edge) 8px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.car-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 min(920px, calc(100vw - 2 * var(--edge) - 64px)); scroll-snap-align: start;
  display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 44px; align-items: center;
  padding: 24px; border-radius: 32px; background: var(--white); border: 1px solid var(--gray-200);
  box-shadow: 0 2px 6px rgba(23, 20, 42, .03);
  opacity: .45; transform: scale(.965); transform-origin: left center; transition: opacity .6s ease, transform .6s ease, background-color .6s ease;
  cursor: pointer;
}
.slide.is-active { opacity: 1; transform: none; border-color: #DDD3FB; box-shadow: 0 30px 60px -34px rgba(70, 35, 170, .35); cursor: default; }
.slide-visual { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--lavender); }
.slide-visual img, .slide-visual video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-copy { display: grid; gap: 18px; justify-items: start; padding-right: 20px; min-width: 0; }
.slide-key { display: flex; align-items: center; gap: 12px; }
.slide-key b { width: 48px; height: 48px; border-radius: 14px; background: var(--purple); color: var(--white); display: grid; place-items: center; font-size: 24px; font-weight: 800; }
.slide-key span { font-size: 15px; font-weight: 700; color: var(--purple); letter-spacing: .02em; }
.slide h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; line-height: 1.3; letter-spacing: -.035em; text-wrap: balance; }
.slide-copy > p { font-size: 17px; color: var(--gray-700); max-width: 30em; }
.slide-points { display: flex; flex-wrap: wrap; gap: 8px; }
.slide-points li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--lavender); color: var(--ink); font-size: 14px; font-weight: 600; }
.slide-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.slide-link { font-weight: 700; color: var(--purple); padding-block: 4px; }
.slide-link::after { content: " →"; }
.slide-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.car-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.car-tab { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 0 0 4px; background: none; border: 0; color: var(--gray-500); font-size: 15px; font-weight: 700; text-align: left; cursor: pointer; transition: color .3s; }
.car-tab:hover, .car-tab.is-active { color: var(--ink); }
.car-tab .bar { flex: 0 0 100%; height: 3px; border-radius: 3px; background: var(--gray-200); overflow: hidden; margin-bottom: 10px; }
.car-tab .bar i { display: block; height: 100%; width: 0; background: var(--purple); border-radius: inherit; }
.car-tab b { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; background: var(--gray-100); color: var(--gray-500); }
.car-tab.is-active b { background: var(--purple); color: var(--white); }

.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--gray-200); }
.promises li { display: flex; gap: 16px; align-items: flex-start; }
.promise-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--lavender); }
.promise-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--purple); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.promises strong { display: block; font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.promises p { font-size: 15px; color: var(--gray-700); }

@media (max-width: 860px) {
  .slide { grid-template-columns: 1fr; gap: 22px; padding: 16px 16px 24px; transform-origin: center top; }
  .slide-copy { padding: 0 6px; }
  .promises { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
}
@media (max-width: 560px) {
  .about { --edge: 16px; }
  .about-head .car-btns { display: none; }
  .car-track { gap: 12px; }
  .slide { flex-basis: calc(100vw - 2 * var(--edge) - 28px); border-radius: 26px; }
  .slide-visual { border-radius: 18px; }
  .slide-copy > p { font-size: 16px; }
  .car-tabs { gap: 8px; }
  .car-tab { font-size: 0; gap: 0; justify-content: center; }
  .car-tab b { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .car-tab .bar { visibility: hidden; } }

/* products: 1인실, 비상주 (히어로와 같은 진한 보라) */
.products {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(50% 40% at 88% 0%, rgba(139, 102, 255, .38) 0%, transparent 70%),
    radial-gradient(40% 35% at 0% 100%, rgba(139, 102, 255, .22) 0%, transparent 70%),
    linear-gradient(180deg, #2A1380 0%, #1B0B5C 100%);
}
.products::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1.2px, transparent 1.4px) 0 0 / 28px 28px; }
.products > .container { position: relative; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan {
  position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 28px; overflow: hidden;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .3s ease, box-shadow .3s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -44px rgba(10, 2, 40, .9); }
.plan-main {
  border: 1.5px solid transparent;
  background: linear-gradient(#24107A, #1F0D69) padding-box, linear-gradient(140deg, #FFE58A 0%, #A68CFF 45%, rgba(255,255,255,.18) 100%) border-box;
  box-shadow: 0 40px 90px -46px rgba(139, 102, 255, .75);
}
.plan-visual { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #2A1380; }
.plan-visual img, .plan-visual video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.plan-visual .badge { position: absolute; top: 20px; left: 20px; height: 30px; padding: 0 12px; font-size: 13px; letter-spacing: 0; border-radius: 999px; }
.badge-best { background: #FFE58A; color: var(--ink); }
.badge-sub { background: rgba(255, 255, 255, .16); color: var(--white); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.plan-body { display: grid; grid-template-rows: auto auto 1fr auto; gap: 22px; padding: 30px 32px 32px; }
.plan-top { display: grid; gap: 6px; }
.plan h3 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.035em; line-height: 1.25; }
.plan-one { font-size: 17px; color: #C9B8FF; font-weight: 600; }
.plan-for { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); font-size: 15px; color: rgba(255, 255, 255, .82); }
.plan-for strong { display: block; font-size: 13px; color: #FFE58A; margin-bottom: 2px; }
.plan-features { display: grid; gap: 12px; font-size: 16px; color: rgba(255, 255, 255, .88); align-content: start; }
.plan-features li { display: flex; gap: 10px; }
.plan-features li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: .15em; border-radius: 50%; background: #FFE58A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232A1380' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.plan-bottom { display: grid; gap: 18px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.plan-price-label { flex: 0 0 100%; font-size: 13px; color: rgba(255, 255, 255, .6); }
.plan-price-num { font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.03em; }
.plan-price small { font-size: 13px; color: rgba(255, 255, 255, .6); }
.products .btn { height: 56px; font-size: 16px; }
.products .btn-primary { background: var(--white); color: var(--purple); }
.products .btn-primary:hover { background: var(--lavender); }
.products .btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .5); }
.products .btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }

.plan-help {
  margin-top: 24px; display: flex; align-items: center; gap: 20px; padding: 24px 28px; border-radius: 24px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.plan-help-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #FFE58A; }
.plan-help-ico svg { width: 26px; height: 26px; fill: none; stroke: #2A1380; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plan-help-copy { flex: 1; min-width: 0; }
.plan-help-copy strong { display: block; font-size: 18px; font-weight: 800; }
.plan-help-copy p { font-size: 15px; color: rgba(255, 255, 255, .72); }
.plan-help-actions { display: flex; gap: 10px; flex: none; }
.plan-help-actions .btn { height: 50px; font-size: 15px; }

@media (max-width: 860px) {
  .plan-grid { grid-template-columns: 1fr; }
  .plan-help { flex-wrap: wrap; }
  .plan-help-actions { flex: 0 0 100%; }
  .plan-help-actions .btn { flex: 1; }
}
@media (max-width: 480px) {
  .plan-body { padding: 24px 20px 24px; }
  .plan-help { padding: 22px 20px; }
}

/* program: 입주사 전용 무료 AI 강의 */
.program {
  position: relative; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(45% 35% at 100% 0%, rgba(139, 102, 255, .10) 0%, transparent 70%),
    linear-gradient(180deg, var(--white) 0%, var(--lavender-2) 100%);
}
.program > .container { position: relative; }
.section-head-light .section-desc { color: #B9B4CF; }
.section-head-light .eyebrow { color: #A68CFF; }
.program-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.program-head .section-head { margin-bottom: 0; }
.free-stamp {
  flex: none; display: grid; place-items: center; align-content: center; gap: 2px; width: 156px; height: 156px; border-radius: 50%;
  background: #FFE58A; color: var(--ink); transform: rotate(-8deg); box-shadow: 0 20px 40px -18px rgba(200, 150, 20, .45);
  outline: 2px dashed rgba(23, 20, 42, .25); outline-offset: -10px;
}
.free-stamp span { font-size: 13px; font-weight: 700; }
.free-stamp strong { font-size: 56px; font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.free-stamp small { font-size: 22px; font-weight: 800; margin-left: 2px; }

.course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.course { display: grid; grid-template-rows: auto 1fr; border-radius: 28px; overflow: hidden; background: var(--white); border: 1px solid var(--gray-200); box-shadow: 0 30px 60px -40px rgba(70, 35, 170, .35); }
.course-visual { position: relative; height: 270px; overflow: hidden; color: var(--white); background: radial-gradient(80% 90% at 70% 0%, rgba(139, 102, 255, .55), transparent 70%), linear-gradient(160deg, #3A1BA8, #1F0D69); }
.course-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.1) 1.2px, transparent 1.4px) 0 0 / 22px 22px; }
.course-body { display: grid; gap: 18px; align-content: start; padding: 30px 32px 34px; }
.course-label { display: flex; align-items: center; gap: 10px; }
.course-no { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--purple); }
.course-tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--lavender); color: var(--purple); }
.course h3 { font-size: clamp(25px, 2.6vw, 32px); font-weight: 800; line-height: 1.3; letter-spacing: -.035em; text-wrap: balance; }
.course-one { font-size: 16px; color: var(--gray-700); }
.curriculum { counter-reset: cur; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.curriculum li { counter-increment: cur; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--gray-100); font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.curriculum li::before { content: counter(cur, decimal-leading-zero); flex: none; font-size: 12px; font-weight: 800; color: var(--purple); padding-top: 1px; font-variant-numeric: tabular-nums; }
.course-result { padding: 16px 18px; border-radius: 16px; border: 1px solid #DDD3FB; background: var(--lavender-2); font-size: 15px; color: var(--ink); }
.course-result strong { display: block; font-size: 13px; color: var(--purple); margin-bottom: 2px; }
.course-proof { font-size: 14px; color: var(--purple); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.course-proof::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--gray-700); }
.course-meta > span { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--gray-200); }
.course-meta .tbd { border: 0; }

/* CLASS 01 미리보기: AI가 홈페이지를 만드는 화면 */
.mw-window { position: absolute; left: 50%; top: 34px; width: min(82%, 420px); transform: translateX(-50%); border-radius: 14px; background: var(--white); box-shadow: 0 30px 60px -24px rgba(10, 2, 40, .7); overflow: hidden; }
.mw-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--gray-100); border-bottom: 1px solid var(--gray-200); }
.mw-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-300); }
.mw-bar span { margin-left: 8px; font-size: 11px; color: var(--gray-500); padding: 2px 10px; border-radius: 6px; background: var(--white); }
.mw-prompt { display: flex; align-items: center; gap: 8px; margin: 12px 12px 0; padding: 8px 10px; border-radius: 10px; background: var(--lavender); font-size: 12px; font-weight: 600; color: var(--ink); }
.mw-prompt b { font-size: 10px; font-weight: 800; color: var(--white); background: var(--purple); border-radius: 6px; padding: 2px 6px; }
.mw-typing { white-space: nowrap; overflow: hidden; animation: mw-type 6s steps(16) infinite; }
.mw-caret { width: 2px; height: 14px; background: var(--purple); animation: mw-blink 1s steps(1) infinite; }
.mw-page { padding: 12px; display: grid; gap: 10px; }
.mw-hero { display: grid; gap: 6px; padding: 14px; border-radius: 10px; background: linear-gradient(135deg, #6E43F2, #3B1C99); animation: mw-build 6s ease infinite; animation-delay: .1s; }
.mw-hero span { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .85); width: 70%; }
.mw-hero span + span { width: 45%; background: rgba(255, 255, 255, .5); }
.mw-hero em { width: 64px; height: 18px; border-radius: 9px; background: #FFE58A; margin-top: 4px; }
.mw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mw-cards span { height: 44px; border-radius: 8px; background: var(--gray-100); border: 1px solid var(--gray-200); animation: mw-build 6s ease infinite; }
.mw-cards span:nth-child(1) { animation-delay: .5s; }
.mw-cards span:nth-child(2) { animation-delay: .8s; }
.mw-cards span:nth-child(3) { animation-delay: 1.1s; }
@keyframes mw-type { 0% { max-width: 0; } 28%, 100% { max-width: 220px; } }
@keyframes mw-blink { 50% { opacity: 0; } }
@keyframes mw-build { 0%, 32% { opacity: 0; transform: translateY(10px) scale(.97); } 42%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* CLASS 02 미리보기: 마케팅 자동화 흐름 */
.mock-flow { display: grid; place-items: center; }
.mf-status { position: absolute; top: 16px; left: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.mf-status i { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); animation: mw-blink 1.6s steps(1) infinite; }
.mf-steps { position: relative; display: grid; gap: 8px; width: min(78%, 330px); margin-top: 26px; }
.mf-steps::before { content: ""; position: absolute; left: 22px; top: 18px; bottom: 18px; width: 2px; background: rgba(255, 255, 255, .18); }
.mf-steps::after { content: ""; position: absolute; left: 18px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: #FFE58A; box-shadow: 0 0 14px #FFE58A; animation: mf-dot 4s linear infinite; }
.mf-steps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 6px 14px 6px 7px; border-radius: 12px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); animation: mf-glow 4s ease infinite; }
.mf-steps li:nth-child(2) { animation-delay: 1s; }
.mf-steps li:nth-child(3) { animation-delay: 2s; }
.mf-steps li:nth-child(4) { animation-delay: 3s; }
.mf-ico { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--white); position: relative; z-index: 1; }
.mf-ico svg { width: 17px; height: 17px; fill: none; stroke: var(--purple); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes mf-dot { 0% { top: 18px; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { top: calc(100% - 28px); opacity: 0; } }
@keyframes mf-glow { 0%, 30%, 100% { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .07); } 8%, 22% { border-color: #FFE58A; background: rgba(255, 229, 138, .14); } }

.program-cta {
  margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: 24px;
  background: linear-gradient(120deg, var(--purple), #3B1C99); color: var(--white);
}
.program-cta strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.program-cta p { font-size: 15px; color: #E2D9FF; margin-top: 2px; max-width: 46em; }
.program-cta .btn-primary { background: var(--white); color: var(--purple); flex: none; }
.program-cta .btn-primary:hover { background: var(--lavender); }

@media (max-width: 1024px) { .curriculum { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .course-grid { grid-template-columns: 1fr; }
  .program-head { flex-direction: column; align-items: flex-start; }
  .free-stamp { width: 120px; height: 120px; position: absolute; top: 0; right: 0; }
  .free-stamp strong { font-size: 42px; }
  .program-head .section-head { padding-right: 120px; }
  .program-cta { flex-direction: column; align-items: stretch; }
}
@media (max-width: 480px) {
  .course-body { padding: 24px 20px 26px; }
  .course-visual { height: 240px; }
  .free-stamp { width: 96px; height: 96px; }
  .free-stamp span { font-size: 10px; }
  .free-stamp strong { font-size: 32px; }
  .free-stamp small { font-size: 16px; }
  .program-head .section-head { padding-right: 104px; }
  .free-stamp { top: -6px; }
  .program-cta { padding: 24px 20px; }
}

/* amenities */
.amenity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.amenity-grid li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--gray-200); font-weight: 600; font-size: 16px; }
.amenity-grid svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--purple); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .amenity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .amenity-grid li { padding: 16px; font-size: 15px; gap: 10px; } }

/* contact */
.contact { background: var(--purple); color: var(--white); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1.2px, transparent 1.4px) 0 0 / 22px 22px; pointer-events: none; }
.contact-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: center; }
.contact-copy { display: grid; gap: 18px; justify-items: start; }
.contact-copy .eyebrow { color: #D9CCFF; }
.contact-copy h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.25; letter-spacing: -.035em; }
.contact-copy > p { font-size: 17px; color: #E6DEFF; max-width: 26em; }
.contact-phone { margin-top: 8px; display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 15px; }
.contact-form { background: var(--white); color: var(--ink); border-radius: 24px; padding: 32px; display: grid; gap: 16px; box-shadow: 0 40px 80px -40px rgba(20, 8, 70, .6); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select {
  height: 52px; width: 100%; padding: 0 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--gray-200); background: var(--white);
  font-size: 16px; transition: border-color .2s; appearance: none; -webkit-appearance: none;
}
.field select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2377738B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--purple); }
.field input[aria-invalid="true"] { border-color: var(--hot); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gray-700); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--purple); flex: none; }
.consent-link { text-decoration: underline; color: var(--gray-500); }
.consent.invalid span { color: var(--hot); }
.form-msg { font-size: 14px; min-height: 1.4em; }
.form-msg.error { color: var(--hot); }
.form-msg.ok { color: var(--purple); font-weight: 700; }
@media (max-width: 960px) { .contact-inner { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 480px) { .contact-form { padding: 22px 18px; } .field-row { grid-template-columns: 1fr; } }

/* footer */
.footer { background: var(--ink); color: #B9B4CF; padding-block: 56px 64px; font-size: 13px; }
.footer-inner { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand img { width: 150px; }
.footer-brand p { color: #8F8AA8; }
.footer-info { display: grid; gap: 8px; }
.footer-info p { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links { padding-top: 12px; gap: 18px !important; }
.footer-links a { color: #E6E3EF; }
.footer .copy { color: #77738B; padding-top: 8px; }
.footer .tbd { color: var(--ink); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }

/* mobile bottom CTA */
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.96); border-top: 1px solid var(--gray-200);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mobile-bar .btn { height: 50px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.nw { white-space: nowrap; }

.program + .amenities { padding-top: 72px; }

/* 공통: 현재 페이지 메뉴, 보조 버튼 */
.nav a[aria-current="page"] { color: var(--purple); }
.btn-ghost-dark { background: rgba(255, 255, 255, .1); color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .18); border-color: var(--white); }
.program-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
@media (max-width: 860px) { .program-cta-actions .btn { flex: 1 1 auto; } }

/* ───────── 강의실 페이지 ───────── */
.cr-hero {
  position: relative; overflow: hidden; color: var(--white); padding-block: 72px 140px;
  background:
    radial-gradient(50% 50% at 90% 0%, rgba(139, 102, 255, .45) 0%, transparent 70%),
    linear-gradient(160deg, #3A1BA8 0%, #1F0D69 100%);
}
.cr-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1.2px, transparent 1.4px) 0 0 / 26px 26px; pointer-events: none; }
.cr-float { position: absolute; inset: 0; pointer-events: none; }
.cr-tile { position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: cr-float 7s ease-in-out infinite; }
.cr-tile svg { width: 28px; height: 28px; fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cr-tile.t1 svg { fill: #FFE58A; stroke: none; }
.cr-tile b { font-size: 18px; font-weight: 900; color: #FFE58A; }
.cr-tile.t1 { left: 46%; top: 14%; }
.cr-tile.t2 { left: 2%; bottom: 7%; width: 54px; height: 54px; animation-delay: -2s; }
.cr-tile.t3 { left: 52%; bottom: 22%; width: 52px; height: 52px; animation-delay: -4s; }
.cr-tile.t4 { right: 4%; top: 10%; width: 48px; height: 48px; animation-delay: -1s; }
@keyframes cr-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
.cr-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.cr-hero-copy { display: grid; gap: 20px; justify-items: start; }
.cr-hero .eyebrow-chip { background: rgba(255, 255, 255, .16); color: var(--white); }
.cr-hero h1 { font-size: clamp(38px, 5.2vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: 1.12; }
.cr-lead { font-size: 18px; color: rgba(255, 255, 255, .85); max-width: 32em; }
.cr-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.cr-stats li { display: grid; gap: 2px; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); min-width: 96px; }
.cr-stats span { font-size: 12px; color: rgba(255, 255, 255, .7); }
.cr-stats strong { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cr-channel { background: var(--white); color: var(--ink); }
.cr-channel svg { width: 22px; height: 22px; fill: #FF0000; }

/* 내 학습 현황 */
.cr-me { position: relative; padding: 26px; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -36px rgba(10, 2, 40, .7); }
.cr-me-title { font-size: 14px; font-weight: 800; color: var(--purple); letter-spacing: .02em; margin-bottom: 14px; }
.cr-me-top { display: flex; align-items: center; gap: 20px; }
.cr-ring { position: relative; width: 112px; height: 112px; flex: none; }
.cr-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cr-ring circle { fill: none; stroke-width: 12; }
.cr-ring-bg { stroke: var(--lavender); }
.cr-ring-fg { stroke: var(--purple); stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
.cr-ring strong { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cr-me-sum { flex: 1; min-width: 0; display: grid; gap: 8px; }
.cr-me-sum > p { font-size: 17px; font-weight: 800; }
.cr-me-sum ul { display: grid; gap: 6px; }
.cr-me-sum li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--gray-700); padding: 6px 10px; border-radius: 10px; background: var(--gray-100); }
.cr-me-sum b { color: var(--ink); font-variant-numeric: tabular-nums; }
.cr-me-next { margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: var(--lavender-2); border: 1px solid #DDD3FB; display: grid; gap: 6px; }
.cr-me-label { font-size: 12px; font-weight: 800; color: var(--purple); }
.cr-me-lec { font-size: 16px; font-weight: 800; line-height: 1.4; }
.cr-me-lec span { display: block; font-size: 12px; font-weight: 700; color: var(--gray-500); margin-bottom: 2px; }
.cr-me-empty { font-size: 14px; color: var(--gray-700); }
.cr-me-btn { margin-top: 6px; background: var(--purple); color: var(--white); width: 100%; }
.cr-me-btn:hover { background: var(--purple-hover); }
.cr-me-note { margin-top: 12px; font-size: 12px; color: var(--gray-500); }

/* 과정 카드 */
.cr-courses-wrap { position: relative; z-index: 2; padding-block: 0; margin-top: -88px; }
.cr-courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cr-course { display: grid; grid-template-rows: auto 1fr; border-radius: 26px; overflow: hidden; background: var(--white); border: 1px solid var(--gray-200); box-shadow: 0 30px 60px -36px rgba(46, 21, 133, .45); }
.cr-course .course-visual { height: 230px; }
.cr-course .mw-window { top: 26px; }
.cr-course-body { display: grid; gap: 10px; align-content: start; padding: 24px 26px 26px; }
.cr-course-no { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--purple); }
.cr-course-no span { letter-spacing: 0; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--lavender); }
.cr-course h2 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.cr-course-desc { font-size: 15px; color: var(--gray-700); }
.cr-course-result { padding: 12px 14px; border-radius: 14px; background: var(--lavender-2); border: 1px solid #DDD3FB; font-size: 14px; }
.cr-course-result strong { display: block; font-size: 12px; color: var(--purple); }
.cr-course-meters { display: grid; gap: 8px; margin-top: 4px; }
.cr-progress { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.cr-progress-label { font-size: 12px; font-weight: 700; color: var(--gray-500); }
.cr-progress-bar { height: 8px; border-radius: 8px; background: var(--gray-200); overflow: hidden; }
.cr-progress-bar i { display: block; height: 100%; background: var(--purple); border-radius: inherit; transition: width .6s ease; }
.cr-progress.is-mine .cr-progress-bar i { background: #FFC93C; }
.cr-progress-text { font-size: 13px; font-weight: 700; color: var(--gray-700); font-variant-numeric: tabular-nums; }
.cr-course-go { margin-top: 8px; width: 100%; background: var(--white); color: var(--purple); border-color: var(--purple); }
.cr-course-go:hover { background: var(--purple); color: var(--white); }

/* 공부하는 방법 */
.cr-steps-wrap { padding-block: 40px 0; }
.cr-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cr-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--gray-100); }
.cr-step-ico { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--gray-200); }
.cr-step-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--purple); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cr-steps li:first-child .cr-step-ico svg { fill: #FF0000; stroke: none; }
.cr-steps b { display: block; font-size: 16px; font-weight: 800; }
.cr-steps span { font-size: 14px; color: var(--gray-700); }

/* 목록 도구 */
.cr-list-wrap { padding-block: 48px 72px; }
.cr-toolbar { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-200); }
.cr-toolbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.cr-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cr-tabs::-webkit-scrollbar { display: none; }
.cr-tab, .cr-filter { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--gray-300); background: var(--white); font-size: 15px; font-weight: 700; color: var(--gray-700); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.cr-tab span { font-size: 12px; padding: 1px 7px; border-radius: 999px; background: var(--gray-100); color: var(--gray-500); font-variant-numeric: tabular-nums; }
.cr-tab:hover, .cr-filter:hover { border-color: var(--purple); color: var(--purple); }
.cr-tab[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: var(--white); }
.cr-tab[aria-pressed="true"] span { background: rgba(255, 255, 255, .22); color: var(--white); }
.cr-filter svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cr-filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.cr-tools { display: flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; }
.cr-search { flex: 0 1 260px; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--gray-200); background: var(--gray-100); }
.cr-search:focus-within { border-color: var(--purple); background: var(--white); }
.cr-search svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gray-500); stroke-width: 2; stroke-linecap: round; }
.cr-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15px; }

/* 강의 카드 */
.cr-group { margin-top: 44px; }
.cr-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 20px; }
.cr-group-head p { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--purple); }
.cr-group-head h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.03em; }
.cr-group-head span { font-size: 13px; font-weight: 700; color: var(--gray-500); padding: 2px 10px; border-radius: 999px; background: var(--gray-100); }
.lec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lec { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--gray-200); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.lec:not(.is-soon):hover { transform: translateY(-4px); border-color: #DDD3FB; box-shadow: 0 24px 48px -30px rgba(46, 21, 133, .45); }
.lec.is-done { border-color: #DDD3FB; }
.lec.is-spot { animation: lec-spot 2.2s ease; }
@keyframes lec-spot { 0%, 60% { box-shadow: 0 0 0 5px rgba(97, 53, 225, .35); border-color: var(--purple); } 100% { box-shadow: 0 0 0 0 rgba(97, 53, 225, 0); } }
.lec-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #2A1380; }
.lec-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.lec-thumb:hover img { transform: scale(1.04); }
.is-done .lec-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(31, 13, 105, .55); }
.lec-ph { position: absolute; inset: 0; background: radial-gradient(70% 90% at 85% 0%, rgba(166, 140, 255, .65), transparent 70%), linear-gradient(150deg, #6E43F2, #2A1380); }
.lec-mkt .lec-ph { background: radial-gradient(70% 90% at 15% 0%, rgba(255, 229, 138, .35), transparent 60%), linear-gradient(150deg, #5B34E0, #1F0D69); }
.lec-ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1.2px, transparent 1.4px) 0 0 / 18px 18px; }
.lec-ph-ico { position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.lec-ph-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lec-ph-ep { position: absolute; right: 18px; bottom: 6px; font-size: 76px; font-weight: 900; line-height: 1; letter-spacing: -.05em; color: rgba(255, 255, 255, .92); font-variant-numeric: tabular-nums; }
.lec-play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); transition: transform .2s; }
.lec-play svg { width: 24px; height: 24px; fill: var(--purple); margin-left: 3px; }
a.lec-thumb:hover .lec-play { transform: scale(1.08); }
.lec-donemark { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--white); color: var(--purple); font-size: 14px; font-weight: 800; white-space: nowrap; }
.lec-donemark svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lec-soon { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(23, 20, 42, .5); color: var(--white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lec-badges { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: flex; gap: 6px; }
.lec-new, .lec-time, .lec-next { font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 8px; }
.lec-next { background: var(--purple); color: var(--white); }
.lec-new { background: #FFE58A; color: var(--ink); }
.lec-time { background: rgba(23, 20, 42, .7); color: var(--white); font-variant-numeric: tabular-nums; }
.lec-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.lec-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.lec-ep { padding: 3px 10px; border-radius: 999px; background: var(--lavender); color: var(--purple); }
.lec-course { color: var(--gray-500); }
.lec-done { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--gray-300); background: var(--white); color: var(--gray-500); font-size: 12px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.lec-done svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lec-done:hover { border-color: var(--purple); color: var(--purple); }
.lec-done[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: var(--white); }
.lec h3 { font-size: 18px; font-weight: 800; letter-spacing: -.025em; line-height: 1.4; text-wrap: balance; }
.lec-sum { font-size: 14px; color: var(--gray-700); }
.lec-actions { margin-top: auto; padding-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lec-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 10px; border-radius: 12px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background-color .2s, color .2s; }
.lec-btn svg { width: 18px; height: 18px; flex: none; }
.lec-btn-yt { background: var(--ink); color: var(--white); }
.lec-btn-yt svg { fill: #FF3B3B; }
.lec-btn-yt:hover { background: #000; }
.lec-btn-pdf { background: var(--lavender); color: var(--purple); }
.lec-btn-pdf svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lec-btn-pdf:hover { background: #E2D9FF; }
.lec-btn.is-off { background: var(--gray-100); color: var(--gray-500); cursor: default; }
.lec-btn.is-off svg { fill: var(--gray-300); stroke: none; }
.lec-btn.is-off svg path + path { stroke: var(--gray-500); }
.cr-empty { margin-top: 48px; padding: 48px 16px; text-align: center; color: var(--gray-500); border: 1px dashed var(--gray-300); border-radius: 20px; }

/* FAQ */
.cr-faq-wrap { padding-block: 24px 88px; }
.cr-faq-inner { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 56px; border-top: 1px solid var(--gray-200); }
.cr-faq-inner .section-head { margin-bottom: 0; }
.cr-faq details { border-bottom: 1px solid var(--gray-200); }
.cr-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-size: 17px; font-weight: 700; cursor: pointer; }
.cr-faq summary::-webkit-details-marker { display: none; }
.cr-faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v10M7 12h10' fill='none' stroke='%236135E1' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .25s; }
.cr-faq details[open] summary::after { transform: rotate(45deg); }
.cr-faq details p { padding: 0 4px 20px; font-size: 15px; color: var(--gray-700); max-width: 44em; }
.cr-join { padding-block: 0 96px; }

@media (max-width: 1024px) { .lec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .cr-hero { padding-block: 48px 120px; }
  .cr-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .cr-tile.t1, .cr-tile.t3 { display: none; }
  .cr-courses { grid-template-columns: 1fr; }
  .cr-steps { grid-template-columns: 1fr; }
  .cr-toolbar-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .cr-tools .cr-search { flex: 1 1 auto; }
  .cr-faq-inner { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .lec-grid { grid-template-columns: 1fr; }
  .cr-me { padding: 22px 20px; }
  .cr-ring { width: 96px; height: 96px; }
  .cr-ring strong { font-size: 22px; }
  .cr-course-body { padding: 22px 20px 22px; }
  .cr-join { padding-bottom: 64px; }
}

[hidden] { display: none !important; }
