@charset "utf-8";

/* =========================================================
   eMnet 리뉴얼 시안 site1 — The Record
   네이비 코퍼레이트 에디토리얼
   ========================================================= */

:root {
  /* surface */
  --navy-900: #06121f;
  --navy-850: #08182a;
  --navy-800: #0b1e33;
  --navy-700: #10273f;
  --navy-600: #16324f;

  /* ink */
  --ink-0: #ffffff;
  --ink-1: #c6d4e3;
  --ink-2: #8ea3b9;
  /* --ink-3 은 연출 이미지 고지·면책·데모 안내 같은 "오인을 막는 문구"에 쓰인다.
     장식이 아니므로 navy-800/850/900 전 배경에서 WCAG AA 일반 텍스트 4.5:1을 넘겨야 한다.
     #7d8fa5 = navy-800 대비 5.09:1, navy-900 대비 5.69:1. */
  --ink-3: #7d8fa5;

  /* accent */
  --yellow: #ffd43b;
  --yellow-dim: #d8ae1f;
  --teal: #63d3c5;

  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.26);

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);

  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--navy-800);
  color: var(--ink-1);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/* ---------- 공통 유틸 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--yellow);
  color: var(--navy-900);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* 라벨 칩 */
.chip {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* 섹션 키커 */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--yellow);
  opacity: 0.7;
}

/* 헤드라인 */
.h-xl,
.h-lg,
.h-md {
  color: var(--ink-0);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
}
.h-xl { font-size: clamp(34px, 7.4vw, 82px); line-height: 1.08; }
.h-lg { font-size: clamp(26px, 4.2vw, 46px); }
.h-md { font-size: clamp(21px, 2.6vw, 30px); line-height: 1.3; }

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.8;
  color: var(--ink-1);
}

.muted { color: var(--ink-2); }

/* 텍스트 링크(화살표) */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--yellow);
  color: var(--ink-0);
  font-weight: 700;
  font-size: 15px;
  transition: gap 0.25s var(--ease), color 0.2s var(--ease);
}
.arrow-link svg { flex: none; }
.arrow-link:hover { gap: 20px; color: var(--yellow); }

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.btn--primary {
  background: var(--yellow);
  color: var(--navy-900);
}
.btn--primary:hover { background: #ffe375; }
.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink-0);
}
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }

/* 이미지 위 네이비 그라데이션 (전 사진 공통) */
.media { position: relative; overflow: hidden; background: var(--navy-700); }
/* <picture> 로 감싼 경우까지 잡히도록 자손 선택자를 쓴다 */
.media img { width: 100%; height: 100%; object-fit: cover; }
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 31, 0.42) 0%, rgba(6, 18, 31, 0.16) 45%, rgba(6, 18, 31, 0.72) 100%),
    linear-gradient(90deg, rgba(11, 30, 51, 0.68) 0%, rgba(11, 30, 51, 0.12) 62%);
  pointer-events: none;
}
.media--flat::after {
  background: linear-gradient(180deg, rgba(6, 18, 31, 0.3) 0%, rgba(6, 18, 31, 0.55) 100%);
}

/* =========================================================
   헤더
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 24, 42, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(10px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink-0);
}
.logo b { font-weight: 800; color: var(--yellow); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav__link {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-1);
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover { color: var(--ink-0); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink-0); }

.nav__cta {
  min-height: 42px;
  padding: 9px 20px;
  font-size: 15px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink-0);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 모바일 패널 */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--navy-850);
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav ul { padding: 8px 0 26px; }
.mobile-nav li + li { border-top: 1px solid var(--line); }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-0);
}
.mobile-nav a span { color: var(--ink-3); font-size: 12px; letter-spacing: 0.1em; }
.mobile-nav .btn { width: 100%; margin-top: 18px; }

@media (min-width: 960px) {
  .nav { display: flex; align-items: center; gap: 30px; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* =========================================================
   히어로
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(520px, 88svh, 860px);
  overflow: hidden;
  background: var(--navy-850);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 31, 0.8) 0%, rgba(6, 18, 31, 0.24) 34%, rgba(6, 18, 31, 0.86) 100%),
    linear-gradient(96deg, rgba(11, 30, 51, 0.92) 8%, rgba(11, 30, 51, 0.5) 48%, rgba(11, 30, 51, 0.1) 78%);
}
.hero__inner {
  position: relative;
  width: 100%;
  padding-top: clamp(90px, 16vh, 170px);
  padding-bottom: clamp(44px, 7vh, 84px);
}
.hero__kicker {
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 700;
  letter-spacing: 0.16em;
}
.hero h1 { max-width: 15ch; }
.hero__lead {
  max-width: 46ch;
  margin-top: clamp(20px, 3vw, 30px);
  color: var(--ink-1);
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(26px, 3.6vw, 38px);
}
.hero__scroll {
  display: none;
  position: absolute;
  right: var(--gutter);
  bottom: clamp(44px, 7vh, 84px);
  align-items: center;
  gap: 12px;
  color: var(--ink-2);
  font-size: 12px;
  letter-spacing: 0.14em;
}
@media (min-width: 960px) { .hero__scroll { display: flex; } }

/* =========================================================
   스탯 밴드
   ========================================================= */
.stats { border-block: 1px solid var(--line); background: var(--navy-850); }
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  padding-block: clamp(30px, 4vw, 50px);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  padding-block: 18px;
}
.stat + .stat { border-top: 1px solid var(--line); }
.stat__num {
  display: block;
  margin: 0;
  color: var(--ink-0);
  font-size: clamp(32px, 6.4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.stat__num i { font-style: normal; font-size: 0.56em; margin-left: 2px; }
.stat__label {
  display: block;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 14px;
  letter-spacing: 0;
}
@media (min-width: 640px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat { padding-block: 6px; padding-inline: clamp(14px, 3vw, 40px); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { padding-right: 0; }
  .stat + .stat { border-top: 0; border-left: 1px solid var(--line); }
}

/* =========================================================
   섹션 공통
   ========================================================= */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--alt { background: var(--navy-850); }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about__body p + p { margin-top: 18px; }
.about__body .arrow-link { margin-top: 32px; }
.about__media { aspect-ratio: 4 / 3; }
.about__caption {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.6;
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1.05fr; }
  .about__media { aspect-ratio: 5 / 4; }
}

/* =========================================================
   연혁 타임라인
   ========================================================= */
.history__head { margin-bottom: clamp(34px, 5vw, 60px); }
.history__head p { max-width: 52ch; margin-top: 18px; }

.timeline {
  position: relative;
  padding-left: 26px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 3px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}
.timeline__item { position: relative; padding-bottom: clamp(32px, 4vw, 48px); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -26px; top: 12px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}
.timeline__year {
  display: block;
  color: var(--yellow);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.timeline__title {
  margin-top: 6px;
  color: var(--ink-0);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.timeline__desc { margin-top: 8px; max-width: 54ch; color: var(--ink-2); font-size: 15px; }
.timeline__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.timeline__facts li {
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  color: var(--ink-1);
  font-size: 13px;
  font-weight: 600;
}
@media (min-width: 900px) {
  .history__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); }
  .history__head { margin-bottom: 0; }
}

/* =========================================================
   상품 01–08 리스트
   ========================================================= */
.services__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.services__layout { display: grid; gap: clamp(28px, 4vw, 56px); }

.svc-list { border-top: 1px solid var(--line); }
.svc-row { border-bottom: 1px solid var(--line); }
.svc-row__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px 18px;
  padding-block: 20px;
  transition: background-color 0.25s var(--ease);
}
.svc-row__num {
  color: var(--ink-3);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: color 0.25s var(--ease);
}
.svc-row__text { min-width: 0; }
.svc-row__title {
  display: block;
  color: var(--ink-0);
  font-size: clamp(19px, 2.6vw, 27px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.svc-row__desc {
  display: block;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}
.svc-row__thumb {
  grid-column: 2 / -1;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
}
.svc-row__arrow {
  align-self: center;
  color: var(--ink-3);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.svc-row__link:hover .svc-row__num,
.svc-row__link:focus-visible .svc-row__num { color: var(--yellow); }
.svc-row__link:hover .svc-row__arrow,
.svc-row__link:focus-visible .svc-row__arrow { transform: translateX(6px); color: var(--yellow); }

.svc-preview { display: none; }

@media (min-width: 900px) {
  .services__layout { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .svc-row__thumb { display: none; }
  .svc-row__link { grid-template-columns: auto 1fr auto; padding-block: clamp(18px, 2vw, 26px); }
  /* 컴프의 4열 리듬: 번호 | 제목 | 설명 | 화살표 */
  .svc-row__text {
    display: grid;
    grid-template-columns: minmax(140px, 0.75fr) 1.25fr;
    gap: 6px clamp(16px, 2.4vw, 32px);
    align-items: baseline;
  }
  .svc-row__desc { margin-top: 0; }
  .svc-row__link:hover { background: rgba(255, 255, 255, 0.03); }
  .svc-preview {
    display: block;
    position: sticky;
    top: 104px;
  }
  .svc-preview__media { aspect-ratio: 4 / 3; }
  .svc-preview__media img { transition: opacity 0.35s var(--ease); }
  .svc-preview__media img.is-swapping { opacity: 0; }
  .svc-preview__caption {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 14px;
    color: var(--ink-2);
    font-size: 13px;
  }
  .svc-preview__caption b { color: var(--yellow); font-size: 12px; letter-spacing: 0.1em; }
}

/* =========================================================
   성과 카드
   ========================================================= */
.results__head { margin-bottom: clamp(28px, 4vw, 44px); }
.results__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.result {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.result__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.result__media img { width: 100%; height: 100%; object-fit: cover; }
.result__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 18, 31, 0.55) 0%, rgba(6, 18, 31, 0.82) 62%, rgba(6, 18, 31, 0.94) 100%);
}
.result__sector {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.result__metric { margin-top: auto; padding-top: 40px; }
.result__value {
  display: block;
  color: var(--ink-0);
  font-size: clamp(40px, 7vw, 60px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.result__value i { font-style: normal; font-size: 0.5em; margin-left: 4px; letter-spacing: -0.02em; }
.result__unit { display: block; margin-top: 10px; color: var(--ink-1); font-size: 15px; font-weight: 600; }
.result__note { margin-top: 12px; color: var(--ink-2); font-size: 13.5px; line-height: 1.65; }
.results__disclaimer { margin-top: 20px; color: var(--ink-3); font-size: 12.5px; }
@media (min-width: 760px) { .results__grid { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   파트너
   ========================================================= */
.partners__head { margin-bottom: 28px; }
.partners__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.partner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  min-height: 106px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partner__name {
  color: var(--ink-0);
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.partner__role { color: var(--ink-3); font-size: 12.5px; letter-spacing: 0.02em; }
.partner:last-child { grid-column: 1 / -1; }
.partners__note { margin-top: 18px; color: var(--ink-3); font-size: 12.5px; }
@media (min-width: 760px) {
  .partners__grid { grid-template-columns: repeat(5, 1fr); }
  .partner:last-child { grid-column: auto; }
}

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; overflow: hidden; background: var(--navy-850); }
.cta__media {
  position: absolute;
  inset: 0;
}
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 31, 0.72) 0%, rgba(6, 18, 31, 0.86) 100%),
    linear-gradient(92deg, rgba(11, 30, 51, 0.94) 6%, rgba(11, 30, 51, 0.6) 52%, rgba(11, 30, 51, 0.34) 100%);
}
.cta__inner { position: relative; }
.cta__inner {
  display: grid;
  gap: 28px;
  align-items: end;
  padding-block: clamp(56px, 8vw, 104px);
}
.cta__inner p { max-width: 44ch; margin-top: 18px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 860px) {
  .cta__inner { grid-template-columns: 1.3fr auto; gap: 48px; }
}

/* =========================================================
   푸터
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  background: var(--navy-900);
  padding-block: clamp(44px, 6vw, 72px) 34px;
  font-size: 14px;
}
.footer__top { display: grid; gap: 34px; }
.footer__brand .logo { margin-bottom: 18px; }
.footer__addr { color: var(--ink-2); line-height: 1.9; font-size: 13.5px; font-style: normal; }
.footer__addr a { border-bottom: 1px solid var(--line-strong); }
.footer__addr a:hover { color: var(--ink-0); }
.footer__col h2 {
  margin-bottom: 14px;
  color: var(--ink-0);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.footer__col li + li { margin-top: 9px; }
/* 상품 8종은 제목 하나 아래 2열로 묶는다 — 빈 헤딩으로 칸을 만들지 않는다 */
.footer__col--services ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px clamp(16px, 3vw, 32px);
}
.footer__col--services li + li { margin-top: 0; }
.footer__col a { color: var(--ink-2); font-size: 14px; }
.footer__col a:hover { color: var(--yellow); }
.footer__notice {
  margin-top: 34px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 212, 59, 0.34);
  color: var(--ink-1);
  font-size: 13px;
  line-height: 1.7;
}
.footer__notice b { color: var(--yellow); }
.footer__notice a { color: var(--ink-2); border-bottom: 1px solid var(--line-strong); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12.5px;
}
.footer__demo { color: var(--ink-3); }
@media (min-width: 780px) {
  .footer__top { grid-template-columns: 1.4fr 1.4fr 1fr; gap: 48px; }
}
@media (min-width: 1000px) {
  .footer__top { grid-template-columns: 1.7fr 1.6fr 1fr; }
}

/* =========================================================
   상품 서브페이지 (매거진 아티클형)
   ========================================================= */
.breadcrumb {
  padding-top: 26px;
  color: var(--ink-3);
  font-size: 13px;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: var(--ink-3); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a:hover { color: var(--ink-1); }
.breadcrumb [aria-current="page"] { color: var(--ink-1); }

.article-hero { padding-block: clamp(30px, 4vw, 52px) clamp(38px, 5vw, 64px); }
.article-hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.article-hero__kicker span { color: var(--ink-3); }
.article-hero h1 { max-width: 16ch; }
.article-hero__deck {
  max-width: 22ch;
  margin-top: clamp(16px, 2vw, 22px);
  color: var(--ink-0);
  font-size: clamp(19px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
}
.article-hero__deck::before {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin-bottom: clamp(16px, 2vw, 22px);
  background: var(--yellow);
}
.article-hero__lead {
  max-width: 60ch;
  margin-top: clamp(22px, 3vw, 32px);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.78;
  color: var(--ink-1);
}
/* 모바일은 4:5 세로 구도, 720px 이상은 16:9 와이드 구도로 아트 디렉션을 나눈다 */
.article-hero__media {
  margin-top: clamp(30px, 4vw, 48px);
  aspect-ratio: 4 / 5;
}
@media (min-width: 720px) {
  .article-hero__media { aspect-ratio: 16 / 9; }
}
.article-hero__caption { margin-top: 12px; color: var(--ink-3); font-size: 12.5px; }

.article-section { padding-block: clamp(44px, 6vw, 80px); border-top: 1px solid var(--line); }
.article-grid { display: grid; gap: clamp(24px, 4vw, 56px); }
.article-grid__aside p + p { margin-top: 16px; }
.article-body p + p { margin-top: 18px; }
.article-body h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  color: var(--ink-0);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.article-body h2:first-child { margin-top: 0; }
@media (min-width: 900px) {
  .article-grid { grid-template-columns: 0.8fr 1.2fr; }
}

/* 채널 인덱스 / 사양표 */
.index-table { width: 100%; max-width: 900px; border-collapse: collapse; font-size: 14.5px; }
.index-table tbody th { width: 30%; }
.index-table caption {
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 13px;
  text-align: left;
}
.index-table th,
.index-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}
.index-table thead th {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-bottom-color: var(--line-strong);
  white-space: nowrap;
}
.index-table tbody th { color: var(--ink-0); font-weight: 700; white-space: nowrap; }
.index-table td { color: var(--ink-2); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll > table { min-width: 520px; }

/* 인용 숫자 / 사실 박스 */
.pullstat {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line-strong);
  background: var(--navy-850);
}
.pullstat__value {
  color: var(--yellow);
  font-size: clamp(38px, 7vw, 66px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.pullstat__text { color: var(--ink-0); font-size: clamp(17px, 2vw, 21px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.5; }
.pullstat__note { margin-top: 10px; color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }
@media (min-width: 760px) {
  .pullstat { grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
}

/* 운영 절차 */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { padding: clamp(22px, 3vw, 30px); background: var(--navy-800); }
.step__num {
  display: block;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.step__title { color: var(--ink-0); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.step__desc { margin-top: 8px; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }

/* 솔루션 인덱스 */
.solution-index { border-top: 1px solid var(--line); }
.solution-index li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.solution-index__num {
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.solution-index__name { color: var(--ink-0); font-size: clamp(17px, 2vw, 20px); font-weight: 700; letter-spacing: -0.02em; }

/* 이전·다음 */
.pager {
  display: grid;
  gap: 1px;
  margin-bottom: clamp(40px, 6vw, 76px);
  background: var(--line);
  border: 1px solid var(--line);
}
.pager a {
  display: block;
  padding: clamp(22px, 3vw, 32px) clamp(18px, 3vw, 30px);
  background: var(--navy-800);
  transition: background-color 0.2s var(--ease);
}
.pager a:hover { background: var(--navy-700); }
.pager__dir { display: block; color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; }
.pager__name { display: block; margin-top: 8px; color: var(--ink-0); font-size: clamp(18px, 2.2vw, 23px); font-weight: 800; letter-spacing: -0.03em; }
.pager__next { text-align: right; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   문의 페이지
   ========================================================= */
.inquiry__grid { display: grid; gap: clamp(34px, 5vw, 64px); align-items: start; }
@media (min-width: 980px) { .inquiry__grid { grid-template-columns: 0.85fr 1.15fr; } }

.inquiry__aside p + p { margin-top: 16px; }
.inquiry__contact { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 24px; }
.inquiry__contact dt { color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.inquiry__contact dd { margin: 6px 0 18px; color: var(--ink-0); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.inquiry__contact a:hover { color: var(--yellow); }

.form { border-top: 1px solid var(--line-strong); }

/* fail-closed: JS가 붙기 전에는 폼 전체가 비활성이다.
   비활성 컨트롤은 브라우저 기본 제출에 직렬화되지 않는다. */
.form-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-fields:disabled { opacity: 0.55; }
.form-fields:disabled .control,
.form-fields:disabled .choice { cursor: not-allowed; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.noscript-notice {
  margin-bottom: 26px;
  padding: 16px 18px;
  border: 1px solid var(--yellow);
  color: var(--ink-1);
  font-size: 14px;
  line-height: 1.7;
}
.noscript-notice b { color: var(--yellow); }
.field { padding-block: clamp(20px, 3vw, 28px); border-bottom: 1px solid var(--line); }
.field__label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--ink-0);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.field__req { color: var(--yellow); font-size: 12px; font-weight: 700; }
.field__opt { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.field__hint { margin-bottom: 12px; margin-top: -4px; color: var(--ink-3); font-size: 13px; line-height: 1.6; }

.control {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  background: var(--navy-850);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-0);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.control::placeholder { color: var(--ink-3); }
.control:hover { border-color: rgba(255, 255, 255, 0.4); }
.control:focus { outline: none; border-color: var(--yellow); background: var(--navy-800); }
textarea.control { min-height: 150px; resize: vertical; }
select.control {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%),
    linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% + 2px), calc(100% - 16px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 46px;
}
.field-row { display: grid; }
@media (min-width: 620px) {
  .field-row { grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 36px); }
}

.fieldset { min-width: 0; margin: 0; padding-inline: 0; border: 0; }
.fieldset > legend { padding: 0; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 620px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } }
.choice {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-1);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.choice:hover { border-color: rgba(255, 255, 255, 0.42); color: var(--ink-0); }
.choice:has(input:checked) {
  border-color: var(--yellow);
  background: rgba(255, 212, 59, 0.1);
  color: var(--ink-0);
}
.choice:has(input:focus-visible) { outline: 2px solid var(--yellow); outline-offset: 3px; }

.consent { display: flex; gap: 12px; align-items: flex-start; padding-block: 4px; cursor: pointer; }
.consent input {
  flex: none;
  width: 20px; height: 20px;
  margin: 3px 0 0;
  accent-color: var(--yellow);
}
.consent span { font-size: 14.5px; line-height: 1.7; color: var(--ink-1); }
.consent + .consent { margin-top: 16px; }
.consent__detail {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--navy-850);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.75;
}
.consent__detail dt { color: var(--ink-1); font-weight: 700; }
.consent__detail dd { margin: 0 0 8px; }
.consent__detail dd:last-child { margin-bottom: 0; }

.error {
  display: none;
  margin-top: 10px;
  color: #ff9b8a;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.6;
}
.field.is-invalid .error { display: block; }
.field.is-invalid .control { border-color: #ff9b8a; }
.field.is-invalid .choice { border-color: rgba(255, 155, 138, 0.6); }

.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-top: 30px; }
.form__submit .btn { min-width: 200px; }
.form__demo { color: var(--ink-3); font-size: 13px; line-height: 1.6; }

.form-alert {
  display: none;
  margin-bottom: 26px;
  padding: 16px 18px;
  border: 1px solid #ff9b8a;
  background: rgba(255, 155, 138, 0.08);
  color: #ffc7bd;
  font-size: 14px;
  line-height: 1.7;
}
.form-alert[data-visible="true"] { display: block; }

.form-success {
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--yellow);
  background: var(--navy-850);
}
.form-success__badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 12px;
  background: var(--yellow);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.form-success h2 { margin-bottom: 16px; }
.form-success p + p { margin-top: 14px; }
.form-success__demo {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  color: var(--ink-0);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.7;
}
.form-success__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* =========================================================
   모션
   ========================================================= */
/* 등장 효과는 "기본 보임"이 원칙이다.
   JS가 실제로 돌아가는 환경(html.js)에서만 초기 숨김을 걸어, 스크립트가 막히거나
   IntersectionObserver가 발화하지 않아도 콘텐츠가 사라지지 않게 한다. */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(18px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal,
  html.js .reveal:not(.is-in) { opacity: 1; transform: none; }
}
