/* ============================================================
   TEC-BRND-105 · 오늘정산 · MIN 미니멀·클린 (핀테크 · 정산 인프라)
   밝은 지면 #FDFBFB · 브랜드 딥로즈 #A7254C (H 342°) · 라운드 4px
   ── 같은 TEC 업종의 019(NEO 다크 251°) · 020(GLS 밝음 184°) ·
      021(BRU 밝음 67°) 과 무드·유형·색상환 전부 이격.
   ============================================================ */

/* SPEC v1.7 — 암묵 그리드 트랙이 max-content 로 부풀어 페이지를 밀어내는 것을 원천 차단 */
* { grid-auto-columns: minmax(0, 1fr); }
/* 그리드/플렉스 자식이 내재 폭을 주장하지 못하게 한다 (중간 래퍼까지 커버) */
:where([style*="grid"], .grid, [class*="__grid"], [class*="__inner"], [class*="__list"],
       [class*="__row"], [class*="__wrap"], .section, .container, main, body) > * { min-width: 0; }

:root {
  --brand:       #a7254c;
  --brand-ink:   #ffffff;
  --accent:      #1b1719;
  --accent-ink:  #ffffff;
  --surface:     #fdfbfb;
  --surface-alt: #f5eef0;
  --font-display: var(--font-sans);
  --r: var(--r-sm);
}

body { background: var(--surface); }

/* base.css 의 skip-link 는 --ink 배경이라 그대로 안전 */
::selection { background: var(--brand); color: var(--brand-ink); }

/* ── 공통 타입 ─────────────────────────────────────────────── */

.kicker {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--brand);
}
.label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--ink-3);
}
/* --surface-alt 위에서는 --ink-3 가 대비 하한에 붙는다 (SPEC v1.6 2번) */
.section--alt .label,
.section--alt figcaption,
.section--alt .muted,
.foot .label { color: var(--ink-2); }

.h2 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.04; }
.h3 { font-size: var(--fs-xl); letter-spacing: var(--ls-tight); }
.h4 { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.body-lg { font-size: var(--fs-md); color: var(--ink-2); max-width: 46ch; }
.muted { font-size: var(--fs-sm); color: var(--ink-3); }
.lede { font-size: var(--fs-lg); line-height: 1.5; color: var(--ink-2); max-width: 36ch; }

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

/* ── 버튼 ──────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-6);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); letter-spacing: var(--ls-base);
  border-radius: var(--r);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: var(--sp-3) var(--sp-5); }
/* 브랜드 컬러 배경 위 라벨은 반드시 --brand-ink (SPEC v1.6 1번) — #A7254C/#FFF = 6.97:1 */
.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: var(--brand); color: var(--brand-ink); }
.btn--brand { background: var(--brand); color: var(--brand-ink); }
.btn--brand:hover { background: var(--accent); color: var(--accent-ink); }
.btn--line { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }

/* ── 헤더 (4페이지 · JS 없이 전 메뉴 노출) ─────────────────── */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  padding-block: var(--sp-3);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.nav__logo {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-size: var(--fs-md); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight);
}
/* 브랜드 마크 — 수평을 이룬 저울대. '정산 = 맞춰서 끝낸다' 를 형태로 옮겼다.
   딥로즈는 밝은 지면에서 6.0:1 이라 그대로 쓴다. */
.nav__mark {
  width: 26px; height: 26px; flex: none;
  color: var(--brand);
  transition: color var(--dur) var(--ease), transform var(--dur-slow) var(--ease-out);
}

.nav__menu {
  display: flex; order: 3; width: 100%;
  gap: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav__menu::-webkit-scrollbar { display: none; }
.nav__menu a {
  font-size: var(--fs-sm); color: var(--ink-2); white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.nav__menu a:hover { color: var(--brand); }
.nav__menu a[aria-current="page"] { color: var(--ink); font-weight: var(--fw-semibold); }

@media (min-width: 1024px) {
  .nav__inner { flex-wrap: nowrap; padding-block: var(--sp-4); }
  .nav__menu { order: 0; width: auto; padding-top: 0; border-top: 0; overflow: visible; }
}

/* ── 히어로 ────────────────────────────────────────────────── */

.hero {
  --header-h: 112px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  min-height: 100svh;
  padding-top: var(--header-h);
}
.hero__media { grid-area: 1 / 1 / 2 / 2; position: absolute; inset: 0; z-index: 0; }
.hero__media .img-slot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
/* SPEC 8절 해법 A — 지면 톤의 밝은 스크림. 본문 색은 건드리지 않는다.
   원본이 순백이어도 합성 밝기가 유지되므로 대비가 구조적으로 보장된다. */
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--surface) 96%, transparent) 0%,
    color-mix(in oklab, var(--surface) 93%, transparent) 54%,
    color-mix(in oklab, var(--surface) 90%, transparent) 80%,
    color-mix(in oklab, var(--surface) 22%, transparent) 93%,
    color-mix(in oklab, var(--surface) 5%, transparent) 100%);
}
.hero__text {
  grid-area: 1 / 1 / 2 / 2;
  position: relative; z-index: 1;
  /* 모바일에서는 위로 붙인다. 가운데 정렬하면 마지막 보조 행이 스크림이 얇아지는
     하단 구간까지 내려가 본문 대비가 무너진다 (실측 3.0:1). */
  display: flex; flex-direction: column; justify-content: flex-start;
  gap: var(--sp-5);
  padding-inline: var(--gutter);
  padding-block: var(--sp-5) var(--sp-9);
}
.hero__title { font-size: var(--fs-4xl); line-height: 1.02; letter-spacing: var(--ls-tighter); }
.hero__title em { font-style: normal; color: var(--brand); }
.hero__lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 32ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  margin-top: var(--sp-4); padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--ink-2);
}
.hero__meta b { display: block; font-size: var(--fs-lg); letter-spacing: var(--ls-tight);
                color: var(--ink); text-transform: none; }

@media (min-width: 1024px) {
  .hero {
    --header-h: 76px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
    padding-top: 0;
  }
  /* SPEC v1.6 — 2단 히어로는 grid-area 로 행까지 못박는다 */
  .hero__text  { grid-area: 1 / 1 / 2 / 2; }
  .hero__media { grid-area: 1 / 2 / 2 / 3; position: relative; }
  .hero__media::after { display: none; }
  .hero__text {
    padding-block: calc(var(--header-h) + var(--sp-8)) var(--sp-8);
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
    padding-right: var(--sp-8);
  }
}

/* ── 페이지 헤더 (하위 페이지) ─────────────────────────────── */

.phead {
  padding-top: calc(112px + var(--sp-8));
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--line);
}
.phead__inner { display: grid; gap: var(--sp-4); }
.phead h1 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.04; }
@media (min-width: 1024px) {
  .phead { padding-top: calc(76px + var(--sp-9)); }
  .phead__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: var(--sp-8); align-items: end; }
}

/* ── 지표 (헤어라인 그리드) ────────────────────────────────── */

.stats__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stat { padding-block: var(--sp-6); padding-right: var(--sp-4); border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: var(--sp-4); }
.stat dt {
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--ink-3); margin-bottom: var(--sp-3);
}
.stat dd { font-size: var(--fs-2xl); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); line-height: 1; }
.stat dd span { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-3); margin-left: 3px; }

@media (min-width: 768px) {
  .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { border-bottom: 0; padding-inline: var(--sp-5); }
  .stat:nth-child(odd) { border-right: 0; }
  .stat:nth-child(even) { padding-left: var(--sp-5); }
  .stat { border-right: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
}

/* ── 티커 ──────────────────────────────────────────────────── */

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface-alt); padding-block: var(--sp-4); }
.ticker__track { display: flex; align-items: center; gap: var(--sp-6); width: max-content; animation: tick 44s linear infinite; }
.ticker__track span {
  font-size: var(--fs-sm); letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--ink-2); white-space: nowrap;
}
.ticker__track i { width: 5px; height: 5px; border-radius: var(--r-full); background: var(--brand); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── 스토리 (풀블리드 + 겹침 카드) ─────────────────────────── */

.story { position: relative; padding-bottom: var(--section-y); }
.story__media { border-radius: 0; aspect-ratio: 4 / 5; }
.story__card {
  position: relative;
  margin-top: calc(var(--sp-8) * -1);
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; gap: var(--sp-4);
}
.story__list { display: grid; gap: var(--sp-3); margin-top: var(--sp-2); }
.story__list li {
  display: flex; gap: var(--sp-4); padding-top: var(--sp-3);
  border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2);
}
.story__list b { color: var(--ink); min-width: 5.5em; flex: none; }

@media (min-width: 768px) {
  .story__media { aspect-ratio: 21 / 9; }
  .story__card { margin-top: calc(var(--sp-10) * -1); margin-right: auto; max-width: 640px; padding: var(--sp-8); }
}

/* ── 기능 3분할 ────────────────────────────────────────────── */

.feat__inner { display: grid; gap: var(--sp-8); }
.feat__head { display: grid; gap: var(--sp-4); align-content: start; }
.feat__list { display: grid; gap: var(--sp-7); }
.feat__item { display: grid; gap: var(--sp-4); }
.feat__item .img-slot { border-radius: var(--r); }
/* v1.8 #308 — 뒤에 오는 `.feat__item p` 와 특이도가 같아 색이 덮인다. 복합 선택자로 올린다. */
.feat__item p.feat__num {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); color: var(--brand-text, var(--brand));
}
.feat__item p { font-size: var(--fs-sm); color: var(--ink-2); }

@media (min-width: 768px) { .feat__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); } }
@media (min-width: 1024px) {
  .feat__inner { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: var(--sp-9); }
  .feat__head { position: sticky; top: var(--sp-9); }
}

/* ── 인용 ──────────────────────────────────────────────────── */

.quote-sec { background: var(--surface-alt); }
.quote { display: grid; gap: var(--sp-5); text-align: center; }
.quote p { font-size: var(--fs-xl); font-weight: var(--fw-medium); line-height: 1.45; letter-spacing: var(--ls-tight); }
.quote footer { font-size: var(--fs-sm); color: var(--ink-2); }
.quote footer b { color: var(--ink); font-weight: var(--fw-semibold); }

/* ── 큰 이미지 배너 ────────────────────────────────────────── */

.banner { position: relative; }
.banner .img-slot { aspect-ratio: 16 / 10; border-radius: 0; }
.banner__cap {
  display: grid; gap: var(--sp-2);
  padding-top: var(--sp-4);
  font-size: var(--fs-sm); color: var(--ink-2);
}
@media (min-width: 768px) { .banner .img-slot { aspect-ratio: 21 / 9; } }

/* ── 스텝 ──────────────────────────────────────────────────── */

.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  display: grid; gap: var(--sp-3);
  padding-block: var(--sp-6);
  border-bottom: 1px solid var(--line);
}
.step__num { font-size: var(--fs-2xl); font-weight: var(--fw-bold); letter-spacing: var(--ls-tighter); color: var(--brand); line-height: 1; }
.step h3 { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.step p { font-size: var(--fs-sm); color: var(--ink-2); max-width: 52ch; }
.step__tag {
  justify-self: start;
  font-family: var(--font-mono); font-size: var(--fs-xs);
  padding: var(--sp-1) var(--sp-3);
  background: var(--surface-alt); color: var(--ink-2); border-radius: var(--r);
}
@media (min-width: 768px) {
  .step { grid-template-columns: minmax(0, 120px) minmax(0, 1fr) minmax(0, 200px); gap: var(--sp-6); align-items: start; }
  .step__tag { justify-self: end; }
}

/* ── 요금(수수료) 표 ───────────────────────────────────────── */

.fee { display: grid; gap: var(--sp-5); }
.fee__scroll { overflow-x: auto; min-width: 0; -webkit-overflow-scrolling: touch; }
.fee table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: var(--fs-sm); }
.fee th, .fee td { text-align: left; padding: var(--sp-4) var(--sp-4); border-bottom: 1px solid var(--line); }
.fee thead th {
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--ink-2); border-bottom: 1px solid var(--line-strong);
}
.fee tbody th { font-weight: var(--fw-semibold); }
.fee td b { color: var(--brand); }

/* ── 인증 카드 ─────────────────────────────────────────────── */

.certs { display: grid; gap: var(--sp-5); }
.cert {
  display: grid; gap: var(--sp-3);
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.cert__code {
  justify-self: start;
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide);
  padding: var(--sp-1) var(--sp-3);
  background: var(--brand); color: var(--brand-ink); border-radius: var(--r);
}
.cert p { font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 768px) { .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); } }
@media (min-width: 1024px) { .certs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── 비대칭 2단 ────────────────────────────────────────────── */

.split { display: grid; gap: var(--sp-6); align-items: center; }
.split__body { display: grid; gap: var(--sp-4); justify-items: start; }
@media (min-width: 768px) {
  .split { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: var(--sp-8); }
  .split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  .split--rev .split__media { order: 2; }
}

/* ── FAQ ───────────────────────────────────────────────────── */

.faq__inner { display: grid; gap: var(--sp-6); }
.faq__head { display: grid; gap: var(--sp-4); align-content: start; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  padding-block: var(--sp-5);
  font-size: var(--fs-md); font-weight: var(--fw-semibold);
  cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brand); }
.qa summary::after {
  content: ""; width: 13px; height: 13px; flex: none;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat;
  transition: transform var(--dur) var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding-bottom: var(--sp-5); font-size: var(--fs-sm); color: var(--ink-2); max-width: 64ch; }
@media (min-width: 1024px) {
  .faq__inner { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: var(--sp-9); }
  .faq__head { position: sticky; top: var(--sp-9); }
}

/* ── 문의 폼 ───────────────────────────────────────────────── */

.contact { position: relative; }
.contact__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.contact__bg .img-slot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.contact__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--surface) 92%, transparent),
    color-mix(in oklab, var(--surface) 97%, transparent));
}
.contact__inner { position: relative; z-index: 1; display: grid; gap: var(--sp-7); }
.form { display: grid; gap: var(--sp-4); }
.field { display: grid; gap: var(--sp-2); }
.field label { font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-size: var(--fs-sm);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--brand); }
.form__row { display: grid; gap: var(--sp-4); }
.form__note { font-size: var(--fs-xs); color: var(--ink-2); }
.info { display: grid; gap: var(--sp-5); align-content: start; }
.info dl { display: grid; gap: var(--sp-4); }
.info dt { font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--sp-1); }
.info dd { font-size: var(--fs-sm); }
@media (min-width: 768px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .contact__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: var(--sp-9); } }

/* ── CTA ───────────────────────────────────────────────────── */

.cta { background: var(--accent); color: var(--accent-ink); padding-block: var(--section-y); }
.cta .label { color: color-mix(in oklab, var(--accent-ink) 62%, transparent); }
.cta__title { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.05; margin-block: var(--sp-4); }
.cta__lead { color: color-mix(in oklab, var(--accent-ink) 76%, transparent); font-size: var(--fs-md); max-width: 44ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.cta .btn--brand:hover { background: var(--accent-ink); color: var(--accent); }
.cta .btn--line { border-color: color-mix(in oklab, var(--accent-ink) 38%, transparent); color: var(--accent-ink); }
.cta .btn--line:hover { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.cta :focus-visible { outline-color: var(--accent-ink); }
@media (min-width: 768px) { .cta__title { font-size: var(--fs-4xl); } }

/* ── 푸터 ──────────────────────────────────────────────────── */

.foot { padding-block: var(--sp-8) var(--sp-6); border-top: 1px solid var(--line); }
.foot__inner { display: grid; gap: var(--sp-5); }
.foot__brand { display: inline-flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-md); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.foot__addr { font-style: normal; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.9; }
.foot__nav { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-5); }
.foot__nav a { font-size: var(--fs-sm); color: var(--ink-2); }
.foot__nav a:hover { color: var(--brand); }
.foot__copy {
  grid-column: 1 / -1; padding-top: var(--sp-5); border-top: 1px solid var(--line);
  font-size: var(--fs-xs); color: var(--ink-2);
}
@media (min-width: 768px) { .foot__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-7); } }


/* ============================================================
   ★ 아이콘 · 브랜드 마크 · 인터랙션 (SPEC 4-C)
   MIN 의 반응은 선과 여백으로 한다. 그림자를 늘리지 않고 헤어라인만 움직인다.
   ============================================================ */

.ico { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
.btn__arrow { font-size: 1.25em; margin-left: 1px; transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:active .btn__arrow { transform: translateX(1px); }
.btn { transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease); }

/* ── 브랜드 마크 : 저울이 한 번 흔들렸다 수평을 찾는다 ─────── */
@keyframes balance {
  0%   { transform: rotate(0); }
  30%  { transform: rotate(-5deg); }
  62%  { transform: rotate(3deg); }
  100% { transform: rotate(0); }
}
.nav__logo:hover .nav__mark { animation: balance .8s var(--ease) 1; }
.foot__brand .nav__mark { width: 22px; height: 22px; }
.foot__brand:hover .nav__mark { animation: balance .8s var(--ease) 1; }

/* ── 내비 : 밑줄이 한쪽에서 그어진다 ───────────────────────── */
.nav__menu a { position: relative; padding-block: 2px; transition: color var(--dur) var(--ease); }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--brand); transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__menu a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── 지표 : 칸을 훑으면 숫자가 브랜드색으로 선다 ───────────── */
.stat { transition: background var(--dur) var(--ease), padding-left var(--dur) var(--ease-out); }
.stat:hover { background: var(--surface-alt); }
.stat dd { transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.stat:hover dd { color: var(--brand); transform: translateY(-2px); }

/* ── 티커 : 올리면 멈춘다 ──────────────────────────────────── */
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { transition: color var(--dur) var(--ease); }
.ticker:hover .ticker__track span { color: var(--ink); }
.ticker__track i { transition: transform var(--dur) var(--ease-out); }
.ticker:hover .ticker__track i { transform: scale(1.5); }

/* ── 스토리 목록 ───────────────────────────────────────────── */
.story__list li { transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.story__list li:hover { color: var(--ink); transform: translateX(4px); }
.story__list b { transition: color var(--dur) var(--ease); }
.story__list li:hover b { color: var(--brand); }
.story__media img { transition: transform var(--dur-slow) var(--ease-out); }
.story:hover .story__media img { transform: scale(1.03); }

/* ── 기능 카드 ─────────────────────────────────────────────── */
.feat__item .img-slot img { transition: transform var(--dur-slow) var(--ease-out); }
.feat__item:hover .img-slot img { transform: scale(1.05); }
.feat__item p.feat__num { display: flex; align-items: center; gap: var(--sp-2); transition: color var(--dur) var(--ease), letter-spacing var(--dur) var(--ease); }
.feat__item p.feat__num .ico { font-size: 1.35em; transition: transform var(--dur) var(--ease-out); }
.feat__item:hover p.feat__num { letter-spacing: var(--ls-widest); }
.feat__item:hover p.feat__num .ico { transform: translateY(-2px) rotate(-8deg); }
.feat__item .h4 { transition: color var(--dur) var(--ease); }
.feat__item:hover .h4 { color: var(--brand); }

/* ── 정산 흐름 : 단계 위에 선이 차오른다 ───────────────────── */
.step { position: relative; transition: background var(--dur) var(--ease); }
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0;
  background: var(--brand);
  transition: width var(--dur-slow) var(--ease-out);
}
.step:hover { background: var(--surface-alt); }
.step:hover::before { width: 100%; }
.step__num { transition: transform var(--dur) var(--ease-out); display: inline-block; }
.step:hover .step__num { transform: translateY(-3px); }
.step__tag { transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }

/* ── 요금표 : 행을 훑으면 그 줄만 살아난다 ─────────────────── */
.fee tbody tr { transition: background var(--dur) var(--ease); }
.fee tbody tr:hover { background: color-mix(in oklab, var(--brand) 7%, transparent); }
.fee tbody th { transition: color var(--dur) var(--ease); }
.fee tbody tr:hover th { color: var(--brand); }

/* ── 인증 카드 ─────────────────────────────────────────────── */
.cert { transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.cert:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.cert__code { display: inline-flex; align-items: center; gap: var(--sp-2); transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.cert__code .ico { font-size: 1.15em; transition: transform var(--dur) var(--ease-out); }
.cert:hover .cert__code .ico { transform: scale(1.14); }

/* ── 문의 폼 ───────────────────────────────────────────────── */
.field input, .field select, .field textarea { transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.info dl div { transition: transform var(--dur) var(--ease-out); }
.info dl div:hover { transform: translateX(3px); }

/* ── FAQ ───────────────────────────────────────────────────── */
@keyframes qaOpen {
  from { opacity: 0; transform: translateY(-7px); }
  to   { opacity: 1; transform: none; }
}
html.js .qa[open] p { animation: qaOpen var(--dur) var(--ease-out); }
.qa summary { transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease-out); }
.qa summary:hover { padding-left: var(--sp-3); }

/* ── 배너 ──────────────────────────────────────────────────── */
.banner .img-slot img { transition: transform 1.1s var(--ease-out); }
.banner:hover .img-slot img { transform: scale(1.04); }

/* ── 푸터 ──────────────────────────────────────────────────── */
.foot__addr { display: grid; gap: var(--sp-3); line-height: 1.6; }
.foot__addr span { display: flex; align-items: center; gap: var(--sp-3); }
.foot__addr .ico { font-size: var(--fs-lg); color: var(--ink-3); transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.foot__addr span:hover .ico { color: var(--brand); transform: translateY(-2px); }
.foot__nav a { position: relative; transition: color var(--dur) var(--ease); }
.foot__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.foot__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── 형제 계단식 지연 ──────────────────────────────────────── */
html.js .feat__list .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .feat__list .reveal:nth-child(3) { transition-delay: 180ms; }
html.js .stats__grid .reveal:nth-child(2) { transition-delay: 60ms; }
html.js .stats__grid .reveal:nth-child(3) { transition-delay: 120ms; }
html.js .stats__grid .reveal:nth-child(4) { transition-delay: 180ms; }
html.js .steps .reveal:nth-child(2) { transition-delay: 70ms; }
html.js .steps .reveal:nth-child(3) { transition-delay: 140ms; }
html.js .steps .reveal:nth-child(4) { transition-delay: 210ms; }
html.js .steps .reveal:nth-child(5) { transition-delay: 280ms; }
html.js .certs .reveal:nth-child(2) { transition-delay: 70ms; }
html.js .certs .reveal:nth-child(3) { transition-delay: 140ms; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition-delay: 0s !important; }
  .nav__logo:hover .nav__mark, .foot__brand:hover .nav__mark { animation: none; }
  .btn:hover .btn__arrow, .stat:hover dd, .story__list li:hover,
  .story:hover .story__media img, .feat__item:hover .img-slot img,
  .feat__item:hover p.feat__num .ico, .step:hover .step__num,
  .cert:hover, .cert:hover .cert__code .ico, .info dl div:hover,
  .banner:hover .img-slot img, .foot__addr span:hover .ico,
  .ticker:hover .ticker__track i { transform: none; }
}


/* ===== 획일성 제거 — MIN 무드 어휘 =====================================
   160작품이 레퍼런스의 밑줄 draw·카드 리프트·대문자 킥커를 그대로 복사해
   같은 사이트 리스킨으로 보였다. 반응 방식을 무드에 맞게 갈아끼운다.
   ==================================================================== */
/* 세로 카덴스를 작품마다 다르게 — 전부 같은 --section-y 를 쓰는 게 구조적 tell 이었다 */
:root { --section-y: clamp(3.66rem, 2.2774rem + 5.9411vw, 7.33rem); }

/* 미니멀 — 밑줄을 없앤다. 여백과 색만으로 반응한다. */
.nav__menu a::after, .foot__nav a::after { display: none !important; }
.foot__nav a, .nav__menu a:hover { color: var(--ink); }
.foot__nav a, .nav__menu a { position: relative; }
.foot__nav a::before, .nav__menu a::before {
  content: ""; position: absolute; left: -10px; top: 50%;
  width: 3px; height: 3px; border-radius: 50%;
  background: currentColor; opacity: 0;
  transform: translateY(-50%);
  transition: opacity var(--dur) var(--ease);
}
.foot__nav a:hover::before, .nav__menu a:hover::before { opacity: 1; }
.stat:hover dd, .feat__item:hover p.feat__num .ico, .step:hover .step__num, .cert:hover, .foot__addr span:hover .ico { transform: none; }
.stat:hover dd, .feat__item:hover p.feat__num .ico, .step:hover .step__num, .cert:hover, .foot__addr span:hover .ico { box-shadow: none; }
.kicker, .label { text-transform: none; letter-spacing: var(--ls-snug); font-weight: var(--fw-medium); }

/* ===== 티커 걷어내기 — MIN 무드에 마퀴는 어울리지 않는다 ==========
   내용(실적·목록·인증)은 실제 정보라 유지하고 장치만 바꾼다.
   ================================================================ */
/* 티커 → 얇은 구분선으로 나눈 한 줄. 흐르지 않는다. */
.ticker { overflow: visible; }
.ticker__track { animation: none !important; width: auto; flex-wrap: wrap; gap: 0; }
.ticker__track > span { padding-inline: var(--sp-5); border-left: 1px solid var(--line); }
.ticker__track > span:first-child { padding-left: 0; border-left: 0; }
.ticker__track > i { display: none; }

/* webit-touch */
@media (max-width: 767px) {
  .nav__inner { flex-wrap: wrap; overflow: visible; }
  .hero__actions, .hero__acts { flex-wrap: wrap; }
}
html.tier-premium .hero__title em, html.tier-premium h1 em { font-style: italic; }
html.tier-premium .btn--solid { letter-spacing: .06em; }
