/* =====================================================================
   와이어디 파트너스 — 인플루언서 공동구매 웨비나 랜딩페이지
   모바일 우선(mobile-first). 브레이크포인트: 640 / 900 / 1024
   ===================================================================== */

/* =========================================
   토큰
========================================= */
:root {
  --blue:        #476FFF;
  --blue-dark:   #3557E0;
  --blue-darker: #2542B8;
  --blue-mid:    #8FA6FF;
  --blue-light:  #EDF1FF;
  --blue-tint:   #F6F8FF;

  --dark:        #10121C;
  --dark-2:      #1A1D2B;
  --body:        #262B3A;
  --gray-700:    #4A5163;
  --gray-500:    #6E7689;
  --gray-400:    #9AA2B4;
  --gray-200:    #E2E6F0;
  --gray-100:    #F4F6FB;
  --white:       #FFFFFF;

  --green:       #0FA97C;
  --red:         #D93A3F;

  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   22px;

  --shadow-sm:   0 1px 3px rgba(16, 18, 28, .06), 0 4px 12px rgba(16, 18, 28, .04);
  --shadow:      0 4px 16px rgba(16, 18, 28, .07), 0 16px 40px rgba(16, 18, 28, .06);
  --shadow-blue: 0 6px 20px rgba(71, 111, 255, .28);

  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
          'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --ease: .22s cubic-bezier(.4, 0, .2, 1);

  --header-h: 58px;
}

/* =========================================
   리셋
========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  /* 모바일 하단 고정 CTA 가림 방지 */
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  padding: 10px 18px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: transform var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* 얇은 선 아이콘 공통 */
.ico { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================
   레이아웃 유틸
========================================= */
.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.wrap--narrow { max-width: 620px; }

.section { padding: 64px 0; }
.section--tint { background: var(--gray-100); }
.section--dark { background: var(--dark); }

.br-m { display: none; }

.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 11px;
  background: var(--blue-light);
  color: var(--blue-darker);
  border-radius: 100px;
  font-size: .688rem;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.4;
}
.tag--light { background: rgba(255, 255, 255, .12); color: var(--blue-mid); }

.section__title {
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--dark);
}
.section__title--light { color: var(--white); }

.section__sub {
  margin-top: 12px;
  font-size: .938rem;
  color: var(--gray-500);
  line-height: 1.65;
}
.section__sub--light { color: var(--gray-400); }

.hl {
  color: var(--blue);
}

/* =========================================
   버튼
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-size: .938rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-align: center;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover { background: var(--blue-dark); }
.btn--primary:active { transform: translateY(1px); }
.btn--sm { padding: 9px 15px; font-size: .813rem; border-radius: 7px; box-shadow: none; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--gray-400);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

/* =========================================
   헤더
========================================= */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 2px 12px rgba(16, 18, 28, .05);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand { display: inline-flex; align-items: center; }

/* 헤더 로고 (원본 720×128, 비율 5.625:1) */
.brand__logo {
  height: 24px;
  width: auto;
}

/* =========================================
   1. 히어로
========================================= */
.hero {
  padding: calc(var(--header-h) + 44px) 0 56px;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--blue-light) 0%, var(--blue-tint) 45%, var(--white) 100%);
  border-bottom: 1px solid var(--gray-200);
}
.hero__inner { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 11px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue-darker);
  box-shadow: var(--shadow-sm);
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.hero__title {
  margin-top: 20px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -.033em;
  color: var(--dark);
}

.hero__sub {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.68;
  color: var(--gray-700);
}

.meta-card {
  margin: 30px auto 0;
  max-width: 460px;
  padding: 6px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.meta-card__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
}
.meta-card__row + .meta-card__row { border-top: 1px solid var(--gray-200); }
.meta-card dt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  width: 74px;
  font-size: .813rem;
  font-weight: 700;
  color: var(--gray-500);
  line-height: 1.55;
  padding-top: 1px;
}
.meta-card dt .ico { color: var(--blue); }
.meta-card dd {
  font-size: .875rem;
  color: var(--body);
  line-height: 1.55;
}
.meta-card dd strong { font-weight: 800; color: var(--dark); }

.hero__actions { margin-top: 28px; }
.hero__actions .btn { width: 100%; max-width: 340px; }
.hero__note {
  margin-top: 12px;
  font-size: .813rem;
  color: var(--gray-500);
}

/* =========================================
   2. 추천 카드
========================================= */
.cards {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}
.card {
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.card:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card__check {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 9px;
  background: var(--blue-light);
}
.card__check svg {
  width: 17px; height: 17px;
  fill: none; stroke: var(--blue); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.card__title {
  font-size: 1.063rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.02em;
  color: var(--dark);
}
.card__desc {
  margin-top: 9px;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--gray-500);
}

/* =========================================
   3. 넘버 카드
========================================= */
.numbers {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  counter-reset: n;
}
.number {
  position: relative;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
/* 숫자 배지 + 제목을 한 줄로 */
.number__head {
  display: flex;
  align-items: center;
  gap: 11px;
}
.number__badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1;
}
.number__title {
  font-size: 1.063rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.02em;
  color: var(--dark);
}
.number__desc {
  margin-top: 9px;
  font-size: .906rem;
  line-height: 1.6;
  color: var(--gray-500);
}

/* =========================================
   4. 연사
========================================= */
.speaker {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
/* 연사 이미지 — 배경이 투명한 PNG 를 옅은 블루 패널 위에 올린다 */
.speaker__visual {
  position: relative;
  display: grid;
  place-items: end center;
  width: 100%;
  max-width: 190px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--blue-light) 0%, var(--blue-tint) 100%);
}
.speaker__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
/* 이미지 파일이 없을 때 대체 표시 (script.js 가 is-fallback 을 붙인다) */
.speaker__fallback {
  display: none;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-darker) 100%);
  color: #fff;
  font-size: 1.063rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.speaker__visual.is-fallback { place-items: center; }
.speaker__visual.is-fallback .speaker__img { display: none; }
.speaker__visual.is-fallback .speaker__fallback { display: grid; }
.speaker__name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1.188rem;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.35;
  color: var(--dark);
}
.speaker__badge {
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--blue-light);
  color: var(--blue-darker);
  font-size: .719rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.speaker__role {
  margin-top: 3px;
  font-size: .844rem;
  font-weight: 600;
  color: var(--blue);
}
.speaker__points {
  margin-top: 12px;
  display: grid;
  gap: 5px;
}
.speaker__points li {
  position: relative;
  padding-left: 14px;
  font-size: .844rem;
  line-height: 1.55;
  color: var(--gray-500);
}
.speaker__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-mid);
}

/* =========================================
   5. 실적 스탯
========================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 30px;
}
.stat {
  padding: 22px 14px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  text-align: center;
}
.stat__num {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.stat__suffix { color: var(--blue-mid); }
.stat__label {
  margin-top: 7px;
  font-size: .813rem;
  font-weight: 600;
  color: var(--gray-400);
}
.stat__note {
  margin-top: 5px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--green);
}

/* =========================================
   6. 혜택
========================================= */
.benefit {
  padding: 32px 22px;
  background: var(--blue-tint);
  border: 1px solid var(--blue-light);
  border-radius: var(--radius-lg);
  text-align: center;
}
.benefit__title {
  margin-top: 4px;
  font-size: 1.438rem;
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -.028em;
  color: var(--dark);
}
.benefit__list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  text-align: left;
}
.benefit__list li {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
}
.benefit__list strong {
  display: block;
  font-size: .938rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.015em;
}
.benefit__list span {
  display: block;
  margin-top: 5px;
  font-size: .844rem;
  line-height: 1.65;
  color: var(--gray-500);
}

/* 스타터 키트 구성 항목 */
.benefit__kit {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}
.benefit__kit li {
  position: relative;
  padding: 0 0 0 21px;
  background: none;
  border: 0;
  border-radius: 0;
  font-size: .844rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--gray-700);
}
.benefit__kit li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .28em;
  width: 14px;
  height: 14px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23476FFF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4.5 4.5L19 7'/%3E%3C/svg%3E");
}
.benefit .btn { width: 100%; max-width: 340px; }

/* =========================================
   7. 폼
========================================= */
.form-card {
  margin-top: 26px;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form { display: grid; gap: 18px; }
/* [hidden] 은 브라우저 기본 스타일이라 위의 display:grid 에 밀린다 — 명시적으로 눌러준다 */
.form[hidden] { display: none; }
.form__field { display: grid; }

.form__label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -.015em;
}
.req, .opt {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: .688rem;
  font-weight: 700;
  line-height: 1.5;
}
.req { background: #FDECEC; color: var(--red); }
.opt { background: var(--gray-100); color: var(--gray-500); }

.form__input {
  width: 100%;
  padding: 13px 14px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem; /* iOS 확대 방지: 16px 유지 */
  line-height: 1.5;
  color: var(--dark);
  transition: border-color var(--ease), box-shadow var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form__input::placeholder { color: var(--gray-400); }
.form__input:hover { border-color: #CBD3E4; }
.form__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(71, 111, 255, .16);
}
.form__input[aria-invalid="true"] {
  border-color: var(--red);
  background: #FFFAFA;
}
.form__input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(217, 58, 63, .14);
}
.form__textarea { resize: vertical; min-height: 96px; line-height: 1.65; }

.form__select-wrap { position: relative; }
.form__select { padding-right: 42px; cursor: pointer; }
.form__select:invalid, .form__select option[value=""] { color: var(--gray-400); }
.form__caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  pointer-events: none;
  fill: none; stroke: var(--gray-500); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.form__hint {
  margin-top: 6px;
  font-size: .781rem;
  line-height: 1.5;
  color: var(--gray-400);
}
.form__error {
  display: none;
  margin-top: 6px;
  padding-left: 18px;
  font-size: .813rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--red);
  background: no-repeat left .18em / 13px 13px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D93A3F'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}
.form__error.is-shown { display: block; }

/* 스팸 방지 필드 — 화면에서 완전히 감춤 */
.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.form__honeypot input { width: 1px; }

/* 동의 체크박스 */
.form__field--consent {
  margin-top: 2px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.check__input {
  position: absolute;
  opacity: 0;
  width: 22px; height: 22px;
  margin: 0;
}
.check__box {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  border: 1.5px solid var(--gray-400);
  border-radius: 6px;
  background: var(--white);
  transition: background var(--ease), border-color var(--ease);
}
.check__box svg {
  width: 14px; height: 14px;
  fill: none; stroke: #fff; stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: 0;
  transform: scale(.7);
  transition: opacity var(--ease), transform var(--ease);
}
.check__input:checked + .check__box {
  background: var(--blue);
  border-color: var(--blue);
}
.check__input:checked + .check__box svg { opacity: 1; transform: scale(1); }
.check__input:focus-visible + .check__box {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.check__input[aria-invalid="true"] + .check__box { border-color: var(--red); }
.check__text {
  font-size: .875rem;
  line-height: 1.55;
  color: var(--body);
  font-weight: 600;
}
.check__text .req { margin-left: 2px; }

.policy { margin: 10px 0 0 32px; }
.policy summary {
  display: inline-block;
  font-size: .813rem;
  font-weight: 600;
  color: var(--gray-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.policy summary::-webkit-details-marker { display: none; }
.policy__body {
  margin-top: 10px;
  padding: 14px 15px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: .781rem;
  line-height: 1.7;
  color: var(--gray-500);
}
.policy__body p + p { margin-top: 6px; }
.policy__body strong { color: var(--gray-700); font-weight: 700; }

/* 제출 버튼 / 상태 */
.form__submit { position: relative; margin-top: 2px; }
.form__submit.is-loading { pointer-events: none; background: var(--blue-dark); }
.form__submit.is-loading .form__submit-label { opacity: .65; }

.spinner {
  display: none;
  width: 17px; height: 17px;
  border: 2.2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.form__submit.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__fail {
  padding: 13px 15px;
  background: #FDECEC;
  border: 1px solid #F7C9CA;
  border-radius: var(--radius-sm);
  font-size: .844rem;
  font-weight: 600;
  line-height: 1.6;
  color: #A82C30;
}
.form__fail[hidden] { display: none; }

.form__foot {
  font-size: .781rem;
  line-height: 1.6;
  color: var(--gray-400);
  text-align: center;
}

/* 감사 메시지 */
.thanks { text-align: center; padding: 22px 4px 12px; }
.thanks[hidden] { display: none; }
.thanks__icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blue-light);
}
.thanks__icon svg {
  width: 28px; height: 28px;
  fill: none; stroke: var(--blue); stroke-width: 2.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.thanks__title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--dark);
}
.thanks__desc {
  margin-top: 10px;
  font-size: .938rem;
  line-height: 1.7;
  color: var(--gray-700);
}
.thanks__meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  font-size: .813rem;
  color: var(--gray-400);
}

/* =========================================
   신청 완료 팝업 (<dialog>)
========================================= */
.modal {
  /* 전역 리셋(* { margin: 0 })이 dialog 의 기본 margin:auto 를 지워
     좌상단에 붙으므로, 중앙 정렬을 명시적으로 되돌린다 */
  position: fixed;
  inset: 0;
  margin: auto;
  width: calc(100% - 40px);
  max-width: 400px;
  height: fit-content;
  max-height: calc(100% - 40px);
  overflow-y: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(16, 18, 28, .3);
  color: var(--body);
}
.modal::backdrop {
  background: rgba(16, 18, 28, .55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.modal[open] {
  animation: modal-in .28s cubic-bezier(.2, .9, .3, 1);
}
.modal[open]::backdrop {
  animation: fade-in .28s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal__inner { padding: 32px 24px 24px; text-align: center; }

.modal__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--blue-light);
}
.modal__icon svg {
  width: 30px; height: 30px;
  fill: none; stroke: var(--blue); stroke-width: 2.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.modal__title {
  font-size: 1.188rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.025em;
  color: var(--dark);
}
.modal__desc {
  margin: 12px 0 24px;
  font-size: .938rem;
  line-height: 1.65;
  color: var(--gray-500);
}

@media (min-width: 640px) {
  .modal__inner { padding: 38px 32px 28px; }
  .modal__title { font-size: 1.375rem; }
  .modal__desc { font-size: 1rem; }
}

/* =========================================
   8. 푸터
========================================= */
.footer {
  padding: 40px 0 34px;
  background: var(--dark);
  color: var(--gray-400);
}
.footer__brand {
  display: flex;
  align-items: center;
}
/* 푸터 로고 (화이트, 원본 720×128) */
.footer__logo {
  height: 26px;
  width: auto;
}
.footer__info {
  margin-top: 16px;
  display: grid;
  gap: 5px;
  font-size: .844rem;
}
.footer__info a {
  color: var(--blue-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__policy {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .781rem;
  line-height: 1.7;
  color: var(--gray-500);
}
.footer__copy {
  margin-top: 14px;
  font-size: .781rem;
  color: var(--gray-500);
}

/* =========================================
   모바일 하단 고정 CTA
========================================= */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(16, 18, 28, .07);
  transform: translateY(0);
  transition: transform var(--ease), opacity var(--ease);
}
.sticky-cta.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.sticky-cta__meta {
  display: grid;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.sticky-cta__meta strong {
  font-size: .875rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.02em;
}
.sticky-cta__meta span {
  font-size: .75rem;
  color: var(--gray-500);
}
.sticky-cta__btn { flex: none; padding: 12px 20px; }

/* =========================================
   ≥ 640px
========================================= */
@media (min-width: 640px) {
  .wrap { padding: 0 28px; }
  .section { padding: 84px 0; }
  .br-m { display: inline; }

  .brand__logo { height: 27px; }

  .section__title { font-size: 2rem; }
  .section__sub { font-size: 1rem; }

  .hero { padding: calc(var(--header-h) + 64px) 0 76px; }
  .hero__title { font-size: 2.75rem; }
  .hero__sub { font-size: 1.125rem; margin-top: 18px; }
  .meta-card { padding: 8px 24px; }
  .meta-card dd { font-size: .938rem; }
  .hero__actions .btn { width: auto; min-width: 260px; }

  .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .card { padding: 28px 26px; }

  .numbers { gap: 16px; }
  .number { padding: 24px 22px; }

  .stats { gap: 12px; }
  .stat { padding: 26px 18px; }
  .stat__num { font-size: 2.125rem; }

  .speaker { grid-template-columns: 180px 1fr; align-items: center; gap: 24px; padding: 24px 26px; }
  .speaker__visual { max-width: none; margin: 0; }

  .benefit { padding: 44px 36px; }
  .benefit__title { font-size: 1.75rem; }
  .benefit__list { grid-template-columns: repeat(2, 1fr); }
  .benefit .btn { width: auto; min-width: 260px; }

  .form-card { padding: 32px 30px; }
  .footer { padding: 52px 0 44px; }
}

/* =========================================
   ≥ 768px — 문구가 짧은 넘버 카드는 3열로
========================================= */
@media (min-width: 768px) {
  .numbers { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================
   ≥ 900px — 데스크톱: sticky CTA 숨김
========================================= */
@media (min-width: 900px) {
  :root { --header-h: 66px; }

  body { padding-bottom: 0; }
  .sticky-cta { display: none; }

  .section { padding: 100px 0; }
  .section__title { font-size: 2.25rem; }

  .hero { padding: calc(var(--header-h) + 84px) 0 96px; }
  .hero__title { font-size: 3.25rem; letter-spacing: -.04em; }

  .brand__logo { height: 30px; }
  .footer__logo { height: 30px; }
  .btn--sm { padding: 10px 18px; font-size: .875rem; }

  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .numbers { grid-template-columns: repeat(3, 1fr); }
  .number { padding: 28px 26px; }

  /* 연사 — 텍스트 폭이 넓어지는 만큼 글자를 키워 좌우 여백을 맞춘다 */
  .speaker { grid-template-columns: 200px 1fr; gap: 32px; padding: 30px 34px; }
  .speaker__name { font-size: 1.75rem; gap: 10px; }
  .speaker__badge { padding: 5px 12px; font-size: .875rem; }
  .speaker__role { margin-top: 6px; font-size: 1.125rem; }
  .speaker__points { margin-top: 24px; gap: 12px; }
  .speaker__points li { padding-left: 18px; font-size: 1.063rem; line-height: 1.7; }
  .speaker__points li::before { width: 6px; height: 6px; top: .66em; }

  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 32px 20px; }
  .stat__num { font-size: 2.375rem; }

  .benefit { padding: 60px 56px; }
  .benefit__title { font-size: 2rem; }
  .benefit__list { margin: 32px 0; }

  .footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 0;
  }
  .footer__info { margin-top: 0; text-align: right; }
  .footer__policy { grid-column: 1 / -1; margin-top: 26px; padding-top: 22px; }
  .footer__copy { grid-column: 1 / -1; }
}

/* =========================================
   접근성 / 인쇄
========================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .card:hover { transform: none; }
}

@media print {
  .header, .sticky-cta, .form__submit { display: none; }
  body { padding-bottom: 0; }
}
