/* =========================================================
   브리연구소 랜딩 — "에디토리얼 민트 (Editorial Mint)"
   레퍼런스 리스킨: 페일 민트 배경 × 대형 블랙 타이포 × 블랙 헤어라인
   × 라인 아이콘 × 홀로그래픽 서클 × 피치 액센트 CTA
   구조·컴포넌트 클래스는 1차 시안 그대로 유지
   ========================================================= */

:root {
  /* Color — Editorial Mint v2: 은은한 회색 베이스 + 민트 그라데이션 워시 */
  --bg: #F2F4F3;             /* 뉴트럴 그레이 베이스 */
  --bg-deep: #E9EEEB;        /* feature 섹션 보조 톤 */
  --white: #FFFFFF;
  --ink: #121417;            /* 근흑 텍스트 (에디토리얼 블랙) */
  --ink-soft: #3F464B;
  --ink-faint: #5F686D;
  --hairline: #14171A;       /* 섹션 구분 블랙 헤어라인 */
  --border: #CBD6CE;         /* 카드·필드용 소프트 보더 */

  --navy: #16305E;           /* 브랜드 마크·제품(LMS) 목업 전용 */
  --navy-deep: #0F2347;
  --navy-light: #2A4E8C;
  --navy-tint: #E3EAF4;

  --accent: #F6B47C;         /* 피치 CTA (레퍼런스 submit 버튼 톤) */
  --accent-dark: #EE9D57;
  --accent-tint: #FAEBDB;
  --accent-line: #E8CDAA;
  --amber-text: #A34E08;     /* 밝은 배경 위 액센트 텍스트 (AA) */

  --kakao: #FEE500;
  --kakao-ink: #191600;
  --success: #15803D;
  --success-tint: #EAF6EC;
  --danger: #B91C1C;
  --danger-tint: #FBEDEA;

  /* 파스텔 서브 팔레트 — 부분 적용 (과목 코딩·아이콘·플랜 액센트) */
  --pastel-sky: #DEEBFA;
  --pastel-sky-ink: #1E5BAD;
  --pastel-mint: #DCF2E4;
  --pastel-mint-ink: #0F7A43;
  --pastel-violet: #E9E4F8;
  --pastel-violet-ink: #5B3FB5;
  --pastel-coral: #FAE3E0;
  --pastel-coral-ink: #B8404E;
  --pastel-lemon: #F5EBCE;
  --pastel-lemon-ink: #75590F;

  /* Type */
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Malgun Gothic", sans-serif;
  --font-serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --font-display: "Instrument Serif", "Times New Roman", serif; /* 영문 전용 디스플레이 세리프 */

  /* Layout */
  --container: 1180px;
  --gnb-h: 76px;
  --gnb-h-min: 60px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --radius-btn: 999px;      /* 필형 버튼 (레퍼런스) */
  --shadow-sm: 0 1px 2px rgba(18, 20, 23, 0.05);
  --shadow-md: 0 10px 30px rgba(18, 20, 23, 0.10);
  --shadow-lg: 0 22px 48px rgba(18, 20, 23, 0.14);

  /* 홀로그래픽 그라디언트 (이미지 대체 CSS 오너먼트) */
  --holo: conic-gradient(from 220deg at 50% 45%,
    #F4D8E4 0deg, #D9EDE3 70deg, #DCE2F6 140deg,
    #F7E3CE 210deg, #E6D9F2 285deg, #F4D8E4 360deg);

  /* 글래스모피즘 서피스 */
  --glass-bg: rgba(255, 255, 255, 0.46);
  --glass-bg-strong: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-shadow: 0 8px 32px rgba(18, 20, 23, 0.08);
  --glass-blur: blur(14px) saturate(1.35);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--gnb-h) + 20px);
}

body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

/* 앰비언트 민트 그라데이션 레이어 — 스크롤(--scroll 0~1)에 따라 은은하게 이동 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* 글래스 서피스가 비출 수 있도록 워시 강도를 한 단계 올림 */
  background:
    radial-gradient(640px 640px at calc(88% - var(--scroll, 0) * 34%) calc(6% + var(--scroll, 0) * 66%),
      rgba(139, 199, 178, 0.44), transparent 68%),
    radial-gradient(720px 720px at calc(4% + var(--scroll, 0) * 28%) calc(88% - var(--scroll, 0) * 58%),
      rgba(168, 214, 197, 0.38), transparent 70%),
    radial-gradient(540px 540px at calc(48% + var(--scroll, 0) * 20%) calc(-8% + var(--scroll, 0) * 88%),
      rgba(206, 226, 240, 0.30), transparent 70%),
    radial-gradient(420px 420px at calc(70% - var(--scroll, 0) * 40%) calc(46% + var(--scroll, 0) * 10%),
      rgba(233, 217, 240, 0.20), transparent 70%);
}
@media (prefers-reduced-motion: reduce) {
  body::before {
    background:
      radial-gradient(640px 640px at 88% 10%, rgba(139, 199, 178, 0.30), transparent 68%),
      radial-gradient(720px 720px at 6% 86%, rgba(168, 214, 197, 0.26), transparent 70%);
  }
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong { font-weight: 700; }

::selection { background: var(--accent-tint); color: var(--ink); }

/* 밝은 배경에서도 3:1 이상 대비를 확보하는 2중 포커스 링 */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(246, 180, 124, 0.5);
  border-radius: 4px;
}

.serif { font-family: var(--font-serif); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--ink); color: var(--bg);
  padding: 10px 18px; border-radius: 0 0 8px 8px;
  font-size: 15px; transition: top 0.2s ease-out;
}
.skip-link:focus { top: 0; }

.br-d { display: none; }
@media (min-width: 768px) { .br-d { display: inline; } }
.br-m { display: inline; }
@media (min-width: 768px) { .br-m { display: none; } }

/* ---------- Layout utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow { max-width: 840px; }

/* 에디토리얼 섹션: 블랙 헤어라인이 섹션을 가른다 (레퍼런스 시그니처) */
.section {
  padding: 120px 0;
  border-top: 1px solid var(--hairline);
}
.section--alt { background: transparent; }
/* feature 섹션: 불투명 배경 대신 반투명 민트 워시 — 앰비언트 그라디언트가 비쳐 보이게 */
.section--navy {
  background: linear-gradient(180deg, rgba(150, 199, 179, 0.20), rgba(150, 199, 179, 0.07));
  color: var(--ink);
}

/* 영문 오버라인: 디스플레이 세리프 + 이탤릭 액센트 워드 */
.overline {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 18px;
}
.overline em { font-style: italic; }
.overline::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--hairline);
  vertical-align: 6px;
  margin-right: 12px;
}
.overline--light { color: var(--ink); }

.section__title {
  font-size: clamp(34px, 4.8vw, 48px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 22px;
}
.section--navy .section__title { color: var(--ink); }

.section__sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 64px;
}

.section__cta { text-align: center; margin-top: 64px; }

/* ---------- Buttons : 피치 필 버튼 (레퍼런스 submit 톤) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
  border-radius: var(--radius-btn);
  transition: background-color 0.18s ease-out, transform 0.18s ease-out;
  min-height: 48px;
}
.btn--primary {
  background: var(--accent);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.btn--lg { font-size: 18px; padding: 16px 38px; min-height: 58px; }
.btn--sm { font-size: 15px; padding: 10px 24px; }
.btn--block { width: 100%; }

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  margin-right: 10px;
  background: transparent;
}
.check--amber { border-color: var(--amber-text); color: var(--amber-text); }

/* ---------- Reveal motion (JS 로드 후에만 숨김 — JS 실패 시 콘텐츠 노출 유지) ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
html.js [data-reveal].revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* =========================================================
   GNB
   ========================================================= */
.gnb {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.25s ease-out;
}
.gnb__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--gnb-h);
  transition: height 0.25s ease-out;
}
.gnb--scrolled { box-shadow: var(--shadow-sm); }
.gnb--scrolled .gnb__inner { height: var(--gnb-h-min); }

.gnb__logo { display: inline-flex; align-items: center; gap: 10px; }
.gnb__logo-img { height: 34px; width: auto; display: block; }
.gnb__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
}
.gnb__logo-text {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.gnb__nav {
  display: flex;
  gap: 32px;
  margin-left: 8px;
}
.gnb__nav a {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  padding: 10px 0;
  transition: color 0.18s ease-out;
}
.gnb__nav a:hover { color: var(--ink); }

.gnb__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.gnb__tel {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   Hero — 슬로건 시네마: 숨 쉬는 그라디언트 필드 + 진입 스테이징
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--gnb-h));
  min-height: calc(100svh - var(--gnb-h));
  padding: 72px 0 132px; /* 하단 Trusted by 마퀴 스트립 공간 확보 */
  overflow: hidden;
}
/* 숨 쉬는 블롭 필드: 히어로에서만 채도를 한 단계 올린 4색 궤도 드리프트.
   래퍼(.hero__blob-wrap)가 CSS 드리프트를, 내부 블롭(.hero__blob)이
   JS 워터 오프셋(inline transform)을 맡아 요소 분리로 안전하게 합성된다
   — keyframe 내 var() 합성은 브라우저별로 실행 중 갱신이 보장되지 않아 사용하지 않는다 */
.hero__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
.hero__blob-wrap {
  position: absolute;
  aspect-ratio: 1;
  will-change: transform;
}
.hero__blob {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  will-change: transform;
}
.hero__blob-wrap--mint {
  width: min(720px, 88vw);
  top: -18%; left: -12%;
  animation: blobDriftA 15s ease-in-out infinite alternate;
}
.hero__blob--mint { background: radial-gradient(circle, rgba(126, 193, 168, 0.55), transparent 62%); }
.hero__blob-wrap--sky {
  width: min(640px, 80vw);
  top: -10%; right: -14%;
  animation: blobDriftB 18s ease-in-out infinite alternate;
}
.hero__blob--sky { background: radial-gradient(circle, rgba(178, 209, 235, 0.5), transparent 62%); }
.hero__blob-wrap--peach {
  width: min(760px, 92vw);
  bottom: -24%; left: 6%;
  animation: blobDriftC 13s ease-in-out infinite alternate;
}
.hero__blob--peach { background: radial-gradient(circle, rgba(246, 210, 170, 0.5), transparent 64%); }
.hero__blob-wrap--lilac {
  width: min(560px, 72vw);
  bottom: -12%; right: -8%;
  animation: blobDriftD 16s ease-in-out infinite alternate;
}
.hero__blob--lilac { background: radial-gradient(circle, rgba(216, 196, 232, 0.45), transparent 64%); }
@keyframes blobDriftA {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(16%, 20%) scale(1.18); }
}
@keyframes blobDriftB {
  from { transform: translate(0, 0) scale(1.08); }
  to { transform: translate(-18%, 14%) scale(0.9); }
}
@keyframes blobDriftC {
  from { transform: translate(0, 0) scale(0.94); }
  to { transform: translate(16%, -16%) scale(1.16); }
}
@keyframes blobDriftD {
  from { transform: translate(0, 0) scale(1.12); }
  to { transform: translate(-14%, -20%) scale(0.96); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__blob-wrap { animation: none; }
}
.hero__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* 진입 스테이징: 색(필드) → 슬로건 → 서브·가격 → CTA (CSS 단독, JS 무관) */
.hero__badge, .hero__sub, .hero__price-chip, .hero__cta, .hero__scroll-hint {
  opacity: 0;
  animation: heroFade 0.8s ease-out forwards;
}
.hero__line {
  display: inline-block;
  opacity: 0;
  animation: heroRise 1.05s cubic-bezier(0.22, 0.9, 0.3, 1) forwards;
}
.hero__badge { animation-delay: 0.1s; }
.hero__line--1 { animation-delay: 0.65s; }
.hero__line--2 { animation-delay: 1.05s; }
.hero__sub { animation-delay: 1.9s; }
.hero__price-chip { animation-delay: 2.15s; }
.hero__cta { animation-delay: 2.8s; }
.hero__scroll-hint { animation-delay: 3.05s; }
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(20px); filter: blur(12px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__badge, .hero__line, .hero__sub, .hero__price-chip, .hero__cta, .hero__scroll-hint, .hero-logos {
    animation: none;
    opacity: 1;
  }
}
.hero__badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 8px 20px;
  box-shadow: var(--glass-shadow);
  margin-bottom: 28px;
}

.hero__title {
  font-size: clamp(42px, 6.6vw, 82px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 30px;
}
/* 세리프 앰버 액센트 — 호버 시 미세하게 깊어짐 */
.hero__title .hl {
  font-style: normal;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--amber-text);
  transition: color 0.3s ease-out;
}
.hero__title:hover .hl { color: #8A3F05; }

.hero__sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 24px;
}
/* 가격 칩: CTA보다 먼저 읽히는 비용 장벽 해소 장치 — 숫자만 액센트로 발색 */
.hero__price-chip {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 10px 24px;
  box-shadow: var(--glass-shadow);
  margin-bottom: 32px;
}
.hero__price-chip strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--amber-text);
}

.hero__cta { margin-bottom: 0; }
/* 최상위 CTA 위계: 호버 시 하이라이트 스윕 1회 */
.hero__cta .btn {
  position: relative;
  overflow: hidden;
}
.hero__cta .btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -45%;
  width: 38%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.hero__cta .btn:hover::after { animation: ctaSweep 0.7s ease-out; }
@keyframes ctaSweep {
  from { left: -45%; }
  to { left: 125%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__cta .btn:hover::after { animation: none; }
}

/* Scroll hint */
.hero__scroll-hint {
  margin-top: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.18s ease-out;
}
.hero__scroll-hint em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  margin-right: 2px;
}
.hero__scroll-hint:hover { color: var(--ink); }

/* Trusted by 마퀴 — 히어로 하단 고정 스트립 (Director 섹션에서 이동) */
.hero-logos {
  position: absolute;
  left: 0; right: 0;
  bottom: 26px;
  opacity: 0;
  animation: heroFade 0.8s ease-out 3.3s forwards;
}
.hero-logos__label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-faint);
  text-align: center;
  margin-bottom: 10px;
}
.logos-track {
  --marquee-gap: 44px; /* keyframe 이동량과 공유 — 브레이크포인트에서 이 변수만 조정 */
  display: flex;
  gap: var(--marquee-gap);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.logos-list {
  display: flex;
  align-items: baseline;
  gap: var(--marquee-gap);
  flex: 0 0 auto;
  min-width: max-content;
  animation: logoScroll 24s linear infinite;
}
.logos-track:hover .logos-list { animation-play-state: paused; }
.logos-list li {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.5;
  white-space: nowrap;
}
@keyframes logoScroll {
  to { transform: translateX(calc(-100% - var(--marquee-gap))); }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track {
    -webkit-mask-image: none;
    mask-image: none;
    flex-wrap: wrap;
    justify-content: center;
  }
  .logos-list { animation: none; flex-wrap: wrap; justify-content: center; min-width: 0; }
  .logos-list[aria-hidden="true"] { display: none; }
}

.lms { font-size: 13.5px; }
.lms__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid #E7EBEE;
}
.lms__brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--navy);
}
.lms__brand-dot {
  width: 9px; height: 9px;
  border-radius: 3px;
  background: var(--accent);
}
.lms__user {
  font-size: 12px;
  color: var(--ink-soft);
  background: #F1F4F2;
  border-radius: 999px;
  padding: 3px 10px;
}
.lms__hero {
  padding: 20px 18px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #FDFCF8;
}
.lms__hero--wl { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); }
.lms__hero-label {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(253, 252, 248, 0.75);
  margin-bottom: 6px;
}
.lms__hero-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
}
.lms__list { padding: 8px 6px; }
.lms__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
}
.lms__item + .lms__item { margin-top: 2px; }
.lms__item--done { color: var(--ink-soft); }
.lms__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: var(--navy-tint);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
}
.lms__dot {
  width: 18px; height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  border: 2px solid #DDE3E7;
}
.lms__meta {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   Stats band — 헤어라인 사이 대형 블랙 숫자
   ========================================================= */
.stats {
  background: transparent;
  border-top: 1px solid var(--hairline);
  padding: 76px 0 64px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
/* 내용 대응형 헤어라인 지오메트릭 아트 (레퍼런스 라인 드로잉 문법) */
.stats__art {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--ink);
  transition: transform 0.35s ease-out;
}
.stats__art svg {
  width: 96px;
  height: 96px;
  overflow: visible;
  transition: color 0.35s ease-out;
}
/* 방사형 도형만 스크롤에 따라 은은하게 회전 */
.stats__item:nth-child(1) .stats__art svg,
.stats__item:nth-child(4) .stats__art svg {
  transform: rotate(calc(var(--scroll, 0) * 40deg));
}
/* 파스텔 잉크 기본 발색 — 히어로 필드의 색 여운을 잇는다. 호버는 확대만 */
.stats__item:nth-child(1) .stats__art svg { color: var(--pastel-sky-ink); }
.stats__item:nth-child(2) .stats__art svg { color: var(--pastel-mint-ink); }
.stats__item:nth-child(3) .stats__art svg { color: var(--pastel-violet-ink); }
.stats__item:nth-child(4) .stats__art svg { color: var(--pastel-coral-ink); }
.stats__item:hover .stats__art { transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) {
  .stats__item .stats__art svg { transform: none; transition: none; }
  .stats__art { transition: none; }
  .stats__item:hover .stats__art { transform: none; }
}
/* 세리프 디스플레이 숫자 — 히어로 타이포 무드를 본문 첫 섹션까지 연결 */
.stats__num {
  display: block;
  font-family: "Instrument Serif", "Noto Serif KR", serif;
  font-size: clamp(40px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.stats__label { font-size: 16px; color: var(--ink-soft); }
.stats__basis {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-faint);
}

/* =========================================================
   Pain — 헤어라인 톱 룰 3컬럼 (레퍼런스 후기 레이아웃 문법)
   ========================================================= */
.pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.pain__card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  box-shadow: var(--glass-shadow);
}
/* 리빌 시 은은한 불빛이 켜지는 글로우 시퀀스 (카드별 순차) */
html.js .pain__card.revealed { animation: painGlow 1.5s ease-out forwards; }
html.js .pain__card:nth-child(2).revealed { animation-delay: 0.25s; }
html.js .pain__card:nth-child(3).revealed { animation-delay: 0.5s; }
@keyframes painGlow {
  0% { box-shadow: var(--glass-shadow); }
  55% { box-shadow: var(--glass-shadow), 0 0 46px rgba(246, 180, 124, 0.45); }
  100% { box-shadow: var(--glass-shadow), 0 0 24px rgba(246, 180, 124, 0.22); }
}
@media (prefers-reduced-motion: reduce) {
  html.js .pain__card.revealed { animation: none; }
}
.pain__num {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--amber-text);
  margin-bottom: 18px;
}
.pain__card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.pain__card p { font-size: 17px; color: var(--ink-soft); }

/* 클로징 카피: 페이지 최강 전환 문장 — 세리프 인용 위계로 승격 */
.pain__close {
  margin-top: 80px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.7vw, 28px);
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink);
}
.pain__close strong {
  font-weight: 600;
  color: var(--amber-text);
  box-shadow: inset 0 -0.18em 0 rgba(246, 180, 124, 0.5);
}

/* =========================================================
   Why Brie — 좌측 sticky 선언 + 우측 와이드 카드 순차 리빌
   ========================================================= */
.why__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.why__intro .section__title { margin-bottom: 20px; }
.why__desc {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 460px;
}
.why__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.value-card {
  display: flex;
  align-items: center;
  gap: 26px;
  /* 은은한 민트 그라디언트 서피스 — 확대된 그라디언트를 background-position으로
     천천히 흘려보내는 시트 애니메이션 (글래스 블러·보더는 그대로 유지) */
  background: linear-gradient(120deg,
    rgba(214, 240, 226, 0.75) 0%,
    rgba(255, 255, 255, 0.35) 38%,
    rgba(196, 232, 213, 0.65) 70%,
    rgba(236, 248, 241, 0.5) 100%);
  background-size: 260% 260%;
  animation: valueSheen 10s ease-in-out infinite alternate;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--glass-shadow);
}
/* 카드별 위상차 — 세 장이 동시에 흐르지 않게 (음수 딜레이 = 즉시 다른 지점에서 시작) */
.value-card:nth-child(2) { animation-delay: -3.3s; }
.value-card:nth-child(3) { animation-delay: -6.6s; }
@keyframes valueSheen {
  from { background-position: 0% 40%; }
  to { background-position: 100% 60%; }
}
/* 리빌 시 민트 글로우 시퀀스 (카드별 순차) — 시트 애니메이션과 리스트로 합성 */
html.js .value-card.revealed {
  animation:
    whyGlow 1.5s ease-out forwards,
    valueSheen 10s ease-in-out infinite alternate;
}
html.js .value-card:nth-child(2).revealed { animation-delay: 0.25s, -3.3s; }
html.js .value-card:nth-child(3).revealed { animation-delay: 0.5s, -6.6s; }
@keyframes whyGlow {
  0% { box-shadow: var(--glass-shadow); }
  55% { box-shadow: var(--glass-shadow), 0 0 46px rgba(139, 199, 178, 0.5); }
  100% { box-shadow: var(--glass-shadow), 0 0 24px rgba(139, 199, 178, 0.26); }
}
@media (prefers-reduced-motion: reduce) {
  .value-card,
  html.js .value-card.revealed,
  .team-feature__panel { animation: none; }
}
.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink);
}
.value-card__icon svg { width: 26px; height: 26px; }
/* 파스텔 부분 적용: 아이콘 스트로크 컬러 */
.value-card:nth-child(1) .value-card__icon { color: var(--pastel-sky-ink); }
.value-card:nth-child(2) .value-card__icon { color: var(--pastel-mint-ink); }
.value-card:nth-child(3) .value-card__icon { color: var(--pastel-violet-ink); }
.value-card h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.value-card p { font-size: 16.5px; color: var(--ink-soft); }

/* =========================================================
   Curriculum — 과목 카드 덱 (클릭·스와이프 순환, 시그니처 인터랙션 2/3)
   ========================================================= */
.deck { max-width: 560px; margin: 0 auto 92px; }
.deck__stage {
  position: relative;
  height: 400px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.deck-card {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0 auto;
  width: min(460px, 100%);
  height: 330px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 30px 32px 26px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.55s cubic-bezier(0.22, 0.9, 0.3, 1), opacity 0.55s ease-out;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .deck-card { transition: none; }
}
/* 파스텔 단색 → 히어로 필드와 같은 세계의 그라디언트 서피스
   (좌상단 스펙큘러 하이라이트 + 우하단 화이트 워시) */
.deck-card {
  background-image:
    radial-gradient(120% 90% at 18% 0%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(155deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.5) 100%);
}
.deck-card--biz { background-color: var(--pastel-violet); }
.deck-card--opic { background-color: var(--pastel-mint); }
.deck-card--spa { background-color: var(--pastel-sky); }
.deck-card--ts { background-color: var(--pastel-coral); }
.deck-card--daily { background-color: var(--pastel-lemon); }
.deck-card__eng {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  margin-bottom: 10px;
}
.deck-card--biz .deck-card__eng { color: var(--pastel-violet-ink); }
.deck-card--opic .deck-card__eng { color: var(--pastel-mint-ink); }
.deck-card--spa .deck-card__eng { color: var(--pastel-sky-ink); }
.deck-card--ts .deck-card__eng { color: var(--pastel-coral-ink); }
.deck-card--daily .deck-card__eng { color: var(--pastel-lemon-ink); }
.deck-card__name {
  font-size: clamp(26px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.deck-card__target { font-size: 16.5px; color: var(--ink-soft); }
.deck-card__tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.deck-card__tags li {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 4px 12px;
}
.deck-card__meta { font-size: 12.5px; color: var(--ink-faint); }
.deck__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}
.deck__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  font-size: 17px;
  color: var(--ink);
  transition: background-color 0.18s ease-out, color 0.18s ease-out;
}
.deck__btn:hover { background: var(--ink); color: var(--bg); }
.deck__status {
  font-size: 14.5px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  min-width: 180px;
  text-align: center;
}
.deck__status #deck-label { font-weight: 700; color: var(--ink); }

/* =========================================================
   Features — 넘버링 인덱스 리스트 (에디토리얼 목차 문법)
   ========================================================= */
.feat-list { border-top: 1px solid var(--hairline); }
.feat-row {
  display: grid;
  grid-template-columns: 88px 1fr 1.1fr;
  gap: 24px;
  align-items: start;
  padding: 30px 8px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease-out;
}
.feat-row:hover { background: rgba(255, 255, 255, 0.42); }
.feat-row__no {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-faint);
  padding-top: 5px;
  transition: color 0.2s ease-out;
}
.feat-row:hover .feat-row__no { color: var(--amber-text); }
.feat-row__title {
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.feat-row__title small {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-faint);
  margin-left: 8px;
  white-space: nowrap;
}
.feat-row__copy {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.feat-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ftag {
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 11px;
  white-space: nowrap;
}
.ftag--biz { background: var(--pastel-violet); color: var(--pastel-violet-ink); }
.ftag--opic { background: var(--pastel-mint); color: var(--pastel-mint-ink); }
.ftag--spa { background: var(--pastel-sky); color: var(--pastel-sky-ink); }
.ftag--ts { background: var(--pastel-coral); color: var(--pastel-coral-ink); }
.ftag--daily { background: var(--pastel-lemon); color: var(--pastel-lemon-ink); }
.ftag--all { background: rgba(18, 20, 23, 0.07); color: var(--ink-soft); }

/* =========================================================
   Team — 스플릿 피처 (좌: 인물 사진 / 우: 딥틸 패널)
   ========================================================= */
.team-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  min-height: 540px;
}
.team-feature__photo {
  position: relative;
  background: #D8E9DF;
  min-height: 100%;
}
.team-feature__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* 딥틸 단색 → 민트 시트가 흐르는 글래스 서피스 (Why 카드와 같은 문법) */
.team-feature__panel {
  background: linear-gradient(120deg,
    rgba(214, 240, 226, 0.7) 0%,
    rgba(255, 255, 255, 0.42) 40%,
    rgba(196, 232, 213, 0.6) 72%,
    rgba(240, 250, 244, 0.5) 100%);
  background-size: 260% 260%;
  animation: valueSheen 14s ease-in-out infinite alternate;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-left: 1px solid var(--glass-border);
  color: var(--ink);
  padding: 64px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.team-feature__quote {
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 24px;
}
.team-feature__role {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.team-feature__name {
  font-size: clamp(25px, 2.8vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.team-feature__bio {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
/* --- 팀 섹션 블록 타이틀 --- */
.team-block__title {
  font-size: clamp(21px, 2.4vw, 25px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

/* --- 숫자 신뢰 지표 (헤어라인 톱 룰 4컬럼) --- */
.team-numbers { margin-top: 72px; }
.team-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-numbers__grid li {
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
}
.team-numbers__value {
  display: block;
  font-size: clamp(22px, 2.6vw, 27px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.team-numbers__label { font-size: 15px; color: var(--ink-soft); }

/* --- 기관별 대표 경력 --- */
.team-career { margin-top: 72px; }
.team-career__list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
}
.team-career__list div:first-child { border-top: 1px solid var(--hairline); }
.team-career__list dt {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
}
.team-career__list dd { font-size: 16px; color: var(--ink-soft); }

/* 섹션 마침표 — 화이트라벨로 넘어가는 브릿지 카피 */
.team-close {
  margin-top: 72px;
  text-align: center;
  font-size: clamp(19px, 2.3vw, 23px);
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink);
}

/* =========================================================
   White label
   ========================================================= */
.whitelabel__demo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.whitelabel__label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.whitelabel__input {
  width: 100%;
  font-size: 20px;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out;
}
.whitelabel__input:focus {
  outline: none;
  border-color: var(--amber-text);
  box-shadow: 0 0 0 4px rgba(246, 180, 124, 0.4);
}
.whitelabel__input::placeholder { color: var(--ink-faint); font-weight: 400; }

.whitelabel__checks { margin-top: 32px; }
.whitelabel__checks li {
  display: flex;
  align-items: flex-start;
  font-size: 16.5px;
  color: var(--ink-soft);
}
.whitelabel__checks li + li { margin-top: 14px; }
.whitelabel__checks .check { margin-top: 4px; }
.whitelabel__checks strong { color: var(--ink); }

/* Browser mockup */
.browser {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}
.browser__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--border);
}
.browser__url {
  margin-left: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 16px;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   Pricing — 비교표
   ========================================================= */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}
.compare-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-faint);
  text-align: center;
}

.compare {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 16.5px;
}
.compare th, .compare td {
  padding: 18px 22px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid var(--hairline);
  padding-top: 22px;
  padding-bottom: 22px;
}
.compare tbody th {
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.32);
  text-align: left;
  white-space: nowrap;
}
.compare td { color: var(--ink-soft); }
.compare tbody tr { transition: background-color 0.15s ease-out; }
.compare tbody tr:hover td:not(.compare__brie) { background: rgba(255, 255, 255, 0.45); }

.compare .compare__brie {
  background: rgba(250, 235, 219, 0.78);
  color: var(--ink);
  border-left: 1px solid var(--accent-line);
  border-right: 1px solid var(--accent-line);
}
.compare thead th.compare__brie {
  position: relative;
  font-size: 18px;
  padding-top: 34px;
}
.compare__badge {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 2px 12px;
}
.compare td.compare__brie strong {
  font-weight: 800;
  color: var(--ink);
}

/* 모바일: 가로 스크롤 표 → 비교 항목별 카드 스택 (data-col 라벨 활용)
   캐스케이드 주의: 베이스 .compare 규칙보다 반드시 뒤에 위치해야 한다 */
@media (max-width: 860px) {
  .table-wrap { overflow: visible; }
  .compare {
    display: block;
    min-width: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 0;
    overflow: visible;
  }
  .compare thead { display: none; }
  .compare tbody { display: block; }
  .compare tbody tr {
    display: block;
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 18px 16px 12px;
    box-shadow: var(--glass-shadow);
  }
  .compare tbody tr + tr { margin-top: 12px; }
  .compare tbody tr:hover td:not(.compare__brie) { background: transparent; }
  .compare tbody th {
    display: block;
    background: transparent;
    border: 0;
    padding: 0 4px 10px;
    font-size: 16px;
  }
  .compare tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 0;
    padding: 9px 10px;
    text-align: right;
    font-size: 15px;
  }
  .compare tbody td::before {
    content: attr(data-col);
    flex: 0 0 auto;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-faint);
    text-align: left;
  }
  .compare td.compare__brie {
    background: rgba(250, 235, 219, 0.78);
    border: 0;
    border-radius: 10px;
  }
  .compare td.compare__brie::before { color: var(--amber-text); }
}

/* Reason why */
.reason-why {
  max-width: 720px;
  margin: 64px auto 0;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--glass-shadow);
}
.reason-why h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}
.reason-why p { font-size: 17.5px; color: var(--ink-soft); }
.reason-why p.reason-why__anchor {
  margin-top: 16px;
  font-weight: 800;
  color: var(--ink);
}

/* 3단계 플랜 (레고 블록 구조) */
.tiers { margin-top: 80px; }
.tiers__title {
  font-size: clamp(23px, 3vw, 29px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
  margin-bottom: 40px;
}
.tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.tier {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 4px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--glass-shadow);
}
.tier--custom { border-top-color: var(--pastel-violet-ink); }
.tier--business { border-top-color: var(--pastel-sky-ink); }
.tier--featured {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-md);
}
.tier__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 4px 16px;
  white-space: nowrap;
}
.tier__name {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.tier__tagline {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.tier__price {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 20px;
}
.tier__price small {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.tier__features {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
}
.tier__features li {
  display: flex;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.tier__features .check { margin-top: 2px; width: 20px; height: 20px; flex: 0 0 20px; font-size: 11px; }
.tiers__note {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-faint);
}

/* =========================================================
   Process + 1기 파트너
   ========================================================= */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 40px;
}
.process__step {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  box-shadow: var(--glass-shadow);
}
.process__no {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--amber-text);
  background: var(--accent-tint);
  border-radius: 999px;
  padding: 4px 13px;
  margin-bottom: 16px;
}
/* 파스텔 부분 적용: 절차 스텝 칩 */
.process__step:nth-child(1) .process__no { background: var(--pastel-sky); color: var(--pastel-sky-ink); }
.process__step:nth-child(2) .process__no { background: var(--pastel-mint); color: var(--pastel-mint-ink); }
.process__step:nth-child(3) .process__no { background: var(--pastel-violet); color: var(--pastel-violet-ink); }
.process__step:nth-child(4) .process__no { background: var(--pastel-coral); color: var(--pastel-coral-ink); }
.process__step h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.process__step p { font-size: 16px; color: var(--ink-soft); }

.partner {
  margin-top: 80px;
  background: rgba(250, 235, 219, 0.55);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: var(--glass-shadow);
}
.partner__badge {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 20px;
}
.partner__title {
  font-size: clamp(25px, 3.2vw, 32px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}
.partner__desc {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 28px;
}
.partner__benefits li {
  display: flex;
  align-items: flex-start;
  font-size: 17px;
  color: var(--ink-soft);
}
.partner__benefits li + li { margin-top: 12px; }
.partner__benefits .check {
  margin-top: 4px;
  background: var(--white);
  border-color: var(--amber-text);
  color: var(--amber-text);
}
.partner__benefits strong { color: var(--ink); }

/* =========================================================
   Trial — 리드폼 (딥 민트 feature 섹션)
   ========================================================= */
/* 도트 텍스처 + 민트 워시 (section--navy의 배경을 확장 재정의) */
.trial {
  background:
    radial-gradient(rgba(18, 20, 23, 0.05) 1px, transparent 1.5px),
    linear-gradient(180deg, rgba(150, 199, 179, 0.20), rgba(150, 199, 179, 0.07));
  background-size: 22px 22px, auto;
}
.trial__inner {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 72px;
  align-items: center;
}
.trial__desc {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.trial__includes li {
  display: flex;
  align-items: flex-start;
  font-size: 17px;
  color: var(--ink-soft);
}
.trial__includes li + li { margin-top: 13px; }
.trial__includes .check { margin-top: 4px; }

.trial__form {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.trial__form-title {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.trial__form-sub {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.field .req { color: var(--amber-text); }
.field .opt { font-weight: 400; color: var(--ink-soft); font-size: 13.5px; }
.field input[type="text"],
.field input[type="tel"],
.field select {
  width: 100%;
  font-size: 16.5px;
  font-family: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  min-height: 48px;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--amber-text);
  box-shadow: 0 0 0 3px rgba(246, 180, 124, 0.4);
}
.field input::placeholder { color: var(--ink-faint); }

.field--check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0;
}
.field--check input {
  width: 20px; height: 20px;
  margin-top: 3px;
  accent-color: var(--accent-dark);
  flex: 0 0 20px;
}
.field--check label {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-soft);
}

.privacy-details {
  margin: -10px 0 24px;
  font-size: 14px;
  color: var(--ink-soft);
}
.privacy-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
  width: fit-content;
}
.privacy-details p {
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  line-height: 1.6;
}

.trial__form-micro {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

.trial__success {
  text-align: center;
  background: rgba(250, 235, 219, 0.7);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  margin-top: 8px;
  font-size: 16px;
  color: var(--ink-soft);
}
.trial__success-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq .section__title { margin-bottom: 44px; }
.faq__list { border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__item h3 { font-size: inherit; font-weight: inherit; }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  text-align: left;
  font-size: 18.5px;
  font-weight: 700;
  color: var(--ink);
  padding: 24px 6px;
  min-height: 48px;
  transition: color 0.15s ease-out;
}
.faq__q:hover { color: var(--amber-text); }
.faq__q[aria-expanded="true"] { color: var(--ink); }
.faq__caret {
  flex: 0 0 auto;
  width: 11px; height: 11px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease-out;
  margin-top: -4px;
}
.faq__q[aria-expanded="true"] .faq__caret {
  transform: rotate(225deg);
  margin-top: 4px;
}
.faq__a { overflow: hidden; }
.faq__a p {
  font-size: 17px;
  color: var(--ink-soft);
  padding: 0 6px 26px;
  max-width: 700px;
}
.faq__more {
  margin-top: 40px;
  font-size: 17px;
  color: var(--ink-soft);
}
.faq__more a {
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 1px;
}
.faq__more a:hover { color: var(--amber-text); border-color: var(--amber-text); }

/* =========================================================
   Mission + Final CTA — 홀로그래픽 서클 + 대형 블랙 타이포
   ========================================================= */
.mission { text-align: center; }
@keyframes missionBreathe {
  from { transform: scale(0.94) rotate(-4deg); }
  to { transform: scale(1.1) rotate(6deg); }
}
/* 스크롤 워드 하이라이트 (시그니처 인터랙션 3/3 — JS가 단어 스팬 생성 시에만 활성) */
.mission .wh-word { transition: color 0.3s ease-out; }
.mission__title .wh-word { color: rgba(18, 20, 23, 0.16); }
.mission__title .wh-word.lit { color: var(--ink); }
.mission__desc .wh-word { color: rgba(63, 70, 75, 0.3); }
.mission__desc .wh-word.lit { color: var(--ink-soft); }
/* 홀로 서클 → 히어로 블롭 필드의 미니어처 (페이지 수미상관, 숨쉬는 모션) */
.mission__inner::before {
  content: "";
  display: block;
  width: 150px; height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(58% 58% at 30% 32%, rgba(126, 193, 168, 0.8), transparent 72%),
    radial-gradient(55% 55% at 72% 30%, rgba(178, 209, 235, 0.75), transparent 70%),
    radial-gradient(62% 62% at 48% 76%, rgba(246, 210, 170, 0.8), transparent 72%),
    radial-gradient(48% 48% at 70% 66%, rgba(216, 196, 232, 0.65), transparent 70%);
  filter: blur(10px);
  margin: 0 auto 40px;
  animation: missionBreathe 9s ease-in-out infinite alternate;
}
/* 캐스케이드 주의: 애니메이션 선언(위)보다 반드시 뒤에 위치해야 한다 */
@media (prefers-reduced-motion: reduce) {
  .mission__inner::before { animation: none; }
}
.mission__title {
  font-size: clamp(32px, 4.6vw, 46px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 24px;
}
.mission__desc {
  font-size: 18.5px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 40px;
}
.mission__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* =========================================================
   Footer — 헤어라인 + 소형 텍스트 (레퍼런스 푸터 문법)
   ========================================================= */
.footer {
  background: transparent;
  border-top: 1px solid var(--hairline);
  padding: 56px 0 48px;
  font-size: 15px;
  color: var(--ink-soft);
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { color: var(--ink-soft); display: inline-block; padding: 10px 0; }
.footer__nav a:hover { color: var(--ink); }
.footer__privacy { font-weight: 700; color: var(--ink); }

.footer__tagline {
  margin-bottom: 16px;
  color: var(--ink-soft);
}
.footer__terms { font-weight: 700; color: var(--ink); }

.footer__info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-bottom: 24px;
}
.footer__info div { display: flex; gap: 8px; }
.footer__info dt { color: var(--ink-faint); }
.footer__info dd { font-variant-numeric: tabular-nums; }
.footer__copy { font-size: 14px; color: var(--ink-faint); }

/* =========================================================
   플로팅 카카오 CTA / 모바일 하단 CTA
   ========================================================= */
.kakao-cta {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--kakao);
  color: var(--kakao-ink);
  font-size: 15px;
  font-weight: 800;
  border-radius: 999px;
  padding: 13px 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}
.kakao-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.kakao-cta svg { width: 21px; height: 21px; }

.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: none;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-top: 1px solid var(--hairline);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  visibility: hidden; /* 숨김 상태에서 포커스·낭독 대상 제외 */
  transition: transform 0.3s ease-out, visibility 0s linear 0.3s;
}
.mobile-cta.visible {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.3s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-cta, .mobile-cta.visible { transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
/* GNB: 내비·전화가 실제로 들어가지 않는 960px 이하에서 미리 정리 (중간 폭 파손 방지) */
@media (max-width: 960px) {
  .gnb__nav { display: none; }
  .gnb__tel { display: none; }
}

@media (max-width: 1024px) {
  .section { padding: 92px 0; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }

  .pain__grid { grid-template-columns: 1fr; max-width: 560px; gap: 36px; }

  .why__layout { grid-template-columns: 1fr; gap: 44px; }

  .team-numbers__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }

  /* 태블릿: 2컬럼 유지 — 세로형 인물을 세로 컬럼에 담아 배너식 얼굴-슬라이스 크롭 방지 */
  .team-feature__panel { padding: 48px 40px; }

  .whitelabel__demo { grid-template-columns: 1fr; gap: 44px; }
  .whitelabel__mockup { max-width: 620px; }

  .process__steps { grid-template-columns: repeat(2, 1fr); }

  .tiers__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .tier--featured { order: -1; }

  .trial__inner { grid-template-columns: 1fr; gap: 52px; }
  .trial__form { max-width: 560px; }
}

@media (max-width: 768px) {
  body { font-size: 17px; }
  .section { padding: 76px 0; }
  .section__sub { margin-bottom: 44px; }

  .hero { padding-top: 56px; }

  .deck__stage { height: 380px; }
  .deck-card { height: 320px; padding: 26px 24px 22px; }

  .feat-row { grid-template-columns: 52px 1fr; gap: 10px 16px; padding: 24px 4px; }
  .feat-row__body { grid-column: 2; }

  .team-feature__panel { padding: 40px 30px; }
  .team-feature__quote { font-size: 19px; margin-bottom: 20px; }
  .logos-track { --marquee-gap: 30px; }
  .team-career__list div { grid-template-columns: 110px 1fr; gap: 12px; }

  .value-card { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px 24px; }

  .partner { padding: 36px 28px; }

  .process__steps { grid-template-columns: 1fr; gap: 32px; }

  .trial__form { padding: 32px 24px; }

  .mobile-cta { display: block; }
  .kakao-cta {
    right: 16px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    border-radius: 50%;
    width: 52px; height: 52px;
    justify-content: center;
    padding: 0;
  }
  .kakao-cta span { display: none; }
  .kakao-cta svg { width: 24px; height: 24px; }

  .mission__inner::before { width: 120px; height: 120px; }
}

/* 좁은 화면: 2컬럼이 답답해지는 지점에서 스택 전환.
   인물 사진은 폰에서 자연스럽던 5:4 완만한 비율로 통일해 얼굴+상체가 보이게 한다 */
@media (max-width: 700px) {
  .team-feature { grid-template-columns: 1fr; min-height: 0; }
  .team-feature__photo { min-height: 0; aspect-ratio: 5 / 4; }
  .team-feature__panel {
    border-left: 0;
    border-top: 1px solid var(--glass-border);
    padding: 36px 26px;
  }
  .team-feature__quote { font-size: 19.5px; margin-bottom: 22px; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .btn--lg { width: 100%; }
  .hero__price-chip { display: block; text-align: center; font-size: 16.5px; }
  .hero__price-chip strong { font-size: 20px; }
  .team-numbers__grid { grid-template-columns: 1fr; }
}

/* backdrop-filter 미지원 브라우저 폴백: 글래스 서피스를 불투명에 가깝게 */
@supports not (backdrop-filter: blur(1px)) {
  .gnb, .mobile-cta { background: rgba(255, 255, 255, 0.92); }
  .pain__card, .value-card, .hero__badge, .browser,
  .compare, .reason-why, .tier, .trial__form,
  .process__step, .hero__price-chip, .team-feature__panel {
    background: rgba(255, 255, 255, 0.88);
  }
  .partner, .trial__success { background: rgba(250, 235, 219, 0.92); }
}
