/* ============================================================
   TEC-COMM-111 · 티끌 · NAT 내추럴·오가닉 (핀테크 · 지출 기록 커뮤니티)
   밝은 오트밀 지면 #F8F6F0 · 브랜드 딥그린 #156645 (H 156°) · 라운드 16px
   ── 같은 TEC 의 020(GLS 밝음 184°)과 28°, 106(EDT 밝음 128°)과 28° 이격.
      무드·유형 중복 없음.
   ============================================================ */

/* 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:       #156645;
  --brand-ink:   #ffffff;
  --accent:      #2c3a2b;
  --accent-ink:  #f8f6f0;
  --surface:     #f8f6f0;
  --surface-alt: #ece7dc;
  --font-display: var(--font-sans);
  --r: var(--r-lg);
}

body { background: var(--surface); }
::selection { background: var(--brand); color: var(--brand-ink); }

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

.kicker {
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--brand);
}
.label {
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-3);
}
/* --surface-alt(#ECE7DC) 위에서 --ink-3 는 4.49:1 로 하한에 붙는다 → --ink-2 로 간다
   (SPEC v1.6 2번) */
.section--alt .label, .section--alt .muted, .section--alt .rec__meta,
.section--alt th, .foot .label, .foot .muted { color: var(--ink-2); }

.h2 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.08; }
.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; line-height: var(--lh-loose); }
.muted { font-size: var(--fs-sm); color: var(--ink-3); }

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

.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);
  border-radius: var(--r-full);
  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 (#156645 / #FFF = 6.96:1) */
.btn--brand { background: var(--brand); color: var(--brand-ink); }
.btn--brand:hover { background: var(--accent); color: var(--accent-ink); }
.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: var(--brand); color: var(--brand-ink); }
.btn--line { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }

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

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.2) 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-lg); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight);
}
.nav__mark {
  width: 14px; height: 14px; flex: none;
  border-radius: 50% 50% 50% 2px;
  background: var(--brand);
}
.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; }
.nav__menu a:hover { color: var(--brand); }
.nav__menu a[aria-current="page"] { color: var(--brand); 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);
  overflow: hidden;
}
.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;
  /* 모바일에서는 위로 붙인다. 가운데 정렬하면 마지막 지표 행이 스크림이 얇아지는
     하단 구간까지 내려가 본문 대비가 무너진다 (실측 2.5: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__badge {
  align-self: start;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  background: var(--brand); color: var(--brand-ink);
  font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-wide);
}
.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; line-height: var(--lh-loose); }
.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); color: var(--ink-2);
}
.hero__meta b { display: block; font-size: var(--fs-lg); color: var(--ink); letter-spacing: var(--ls-tight); }

@media (min-width: 1024px) {
  .hero { --header-h: 78px; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); padding-top: 0; }
  .hero__text  { grid-area: 1 / 1 / 2 / 2; }
  .hero__media { grid-area: 1 / 2 / 2 / 3; position: relative; }
  .hero__media::after { display: none; }
  .hero__media .img-slot { border-radius: var(--r-xl) 0 0 var(--r-xl); }
  .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); background: var(--surface-alt); }
.phead__inner { display: grid; gap: var(--sp-4); }
.phead h1 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.06; }
@media (min-width: 1024px) {
  .phead { padding-top: calc(78px + var(--sp-9)); }
  .phead__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: var(--sp-8); align-items: end; }
}

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

.ticker { overflow: hidden; 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 46s linear infinite; }
.ticker__track span { font-size: var(--fs-sm); color: var(--ink-2); white-space: nowrap; }
.ticker__track i { width: 7px; height: 7px; border-radius: 50% 50% 50% 2px; background: var(--brand); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── 지표 ──────────────────────────────────────────────────── */

.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.fig {
  display: grid; gap: var(--sp-2);
  padding: var(--sp-5);
  border-radius: var(--r);
  background: var(--surface-alt);
}
.fig dt { font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); }
.fig dd { font-size: var(--fs-2xl); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); line-height: 1; }
.fig dd span { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-2); margin-left: 4px; }
@media (min-width: 768px) { .figs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── 기록 카드 (피드) ──────────────────────────────────────── */

.recs { display: grid; gap: var(--sp-5); }
.rec {
  display: grid; gap: var(--sp-4); align-content: start;
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  min-width: 0;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.rec:hover { border-color: var(--brand); transform: translateY(-2px); }
.rec__media { border-radius: var(--r); }
.rec__head { display: flex; align-items: center; gap: var(--sp-3); }
.rec__avatar {
  width: 34px; height: 34px; flex: none;
  border-radius: 50% 50% 50% 6px;
  background: color-mix(in oklab, var(--brand) 24%, var(--surface-alt));
}
/* v1.8 #308 — 뒤에 오는 `.rec p` 에 색이 덮이지 않도록 복합 선택자로 올린다. */
.rec p.rec__who { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--ink); }
.rec p.rec__meta { font-size: var(--fs-xs); color: var(--ink-3); }
.rec p { font-size: var(--fs-sm); color: var(--ink-2); line-height: var(--lh-loose); }
.rec__tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.rec__tags span {
  font-size: var(--fs-xs);
  padding: 2px var(--sp-3);
  border-radius: var(--r-full);
  background: var(--surface-alt); color: var(--ink-2);
}
.rec__sum {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3);
  padding-top: var(--sp-3); border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.rec__sum b { font-size: var(--fs-lg); font-weight: var(--fw-bold); color: var(--brand); letter-spacing: var(--ls-tight); }
@media (min-width: 768px) { .recs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .recs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── 챌린지 카드 ───────────────────────────────────────────── */

.chals { display: grid; gap: var(--sp-5); }
.chal {
  display: grid; gap: var(--sp-4); align-content: start;
  padding: var(--sp-6);
  border-radius: var(--r);
  background: var(--surface-alt);
  min-width: 0;
}
.chal--open { background: color-mix(in oklab, var(--brand) 12%, var(--surface)); border: 1px solid var(--brand); }
.chal__tag {
  justify-self: start; padding: 2px var(--sp-3); border-radius: var(--r-full);
  background: var(--brand); color: var(--brand-ink);
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
}
.chal__tag--done { background: var(--line-strong); color: var(--ink); }
.chal p { font-size: var(--fs-sm); color: var(--ink-2); line-height: var(--lh-loose); }
.chal__bar { height: 8px; border-radius: var(--r-full); background: var(--line); overflow: hidden; }
.chal__bar i { display: block; height: 100%; background: var(--brand); }
.chal__stat { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-xs); color: var(--ink-2); }
@media (min-width: 768px) { .chals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .chals { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

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

.steps { display: grid; gap: var(--sp-5); }
.step {
  display: grid; gap: var(--sp-3);
  padding: var(--sp-6);
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
}
.step__no {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50% 50% 50% 8px;
  background: var(--brand); color: var(--brand-ink);
  font-weight: var(--fw-bold); font-size: var(--fs-sm);
}
.step p { font-size: var(--fs-sm); color: var(--ink-2); line-height: var(--lh-loose); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── 용어 사전 (가이드) ────────────────────────────────────── */

.terms { display: grid; gap: 0; border-top: 1px solid var(--line); }
.term { padding-block: var(--sp-5); border-bottom: 1px solid var(--line); display: grid; gap: var(--sp-2); }
.term dt { font-size: var(--fs-md); font-weight: var(--fw-semibold); }
.term dd { font-size: var(--fs-sm); color: var(--ink-2); line-height: var(--lh-loose); max-width: 62ch; }
@media (min-width: 768px) {
  .term { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: var(--sp-6); align-items: baseline; }
}

/* ── 요금표 ────────────────────────────────────────────────── */

.plans { display: grid; gap: var(--sp-5); }
.plan {
  display: grid; gap: var(--sp-4); align-content: start;
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  min-width: 0;
}
.plan--hot { border-color: var(--brand); background: color-mix(in oklab, var(--brand) 8%, var(--surface)); }
.plan__tag {
  justify-self: start; padding: 2px var(--sp-3); border-radius: var(--r-full);
  background: var(--brand); color: var(--brand-ink);
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
}
.plan__price { font-size: var(--fs-2xl); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); line-height: 1; }
.plan__price span { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-2); margin-left: 4px; }
.plan__list { display: grid; gap: var(--sp-3); }
.plan__list li { display: flex; gap: var(--sp-3); align-items: baseline; font-size: var(--fs-sm); color: var(--ink-2); }
.plan__list li::before {
  content: ""; width: 8px; height: 8px; flex: none;
  border-radius: 50% 50% 50% 2px; background: var(--brand); transform: translateY(-1px);
}
@media (min-width: 768px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.table__scroll { overflow-x: auto; min-width: 0; -webkit-overflow-scrolling: touch; }
.table__scroll table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: var(--fs-sm); }
.table__scroll th, .table__scroll td { text-align: left; padding: var(--sp-4); border-bottom: 1px solid var(--line); }
.table__scroll 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);
}
.table__scroll tbody th { font-weight: var(--fw-semibold); }

/* ── 풀블리드 + 겹침 카드 ──────────────────────────────────── */

.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);
  border-radius: var(--r);
  display: grid; gap: var(--sp-4);
  box-shadow: var(--sh-lg);
}
.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: 620px; padding: var(--sp-8); }
}

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

.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.5; 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); }

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

.split { display: grid; gap: var(--sp-6); align-items: center; }
.split__body { display: grid; gap: var(--sp-4); justify-items: start; }
.split .img-slot { border-radius: var(--r); }
@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; }
}

/* ── 폼 ────────────────────────────────────────────────────── */

.form { display: grid; gap: var(--sp-4); }
.form__row { display: grid; gap: var(--sp-4); }
.field { display: grid; gap: var(--sp-2); min-width: 0; }
.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: 7rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--brand); }
.check { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-2); }
.check input { margin-top: 4px; flex: none; }
@media (min-width: 768px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── 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% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 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; line-height: var(--lh-loose); }
@media (min-width: 1024px) {
  .faq__inner { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--sp-9); }
  .faq__head { position: sticky; top: var(--sp-9); }
}

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

.cta { background: var(--accent); color: var(--accent-ink); padding-block: var(--section-y); }
.cta .kicker { color: color-mix(in oklab, var(--brand) 50%, var(--accent-ink)); }
.cta__title { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.06; margin-block: var(--sp-4); }
.cta__lead { color: color-mix(in oklab, var(--accent-ink) 82%, transparent); font-size: var(--fs-md); max-width: 46ch; line-height: var(--lh-loose); }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.cta .btn--line { border-color: color-mix(in oklab, var(--accent-ink) 42%, 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-lg); font-weight: var(--fw-bold); }
.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); } }


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

/* 내추럴 — 밑줄 대신 좌측에 작은 씨앗 하나가 돋는다. */
.nav__menu a::after { display: none !important; }
.nav__menu a { position: relative; }
.nav__menu a::before {
  content: ""; position: absolute; left: -12px; top: 50%;
  width: 5px; height: 5px;
  border-radius: 60% 40% 55% 45%;
  background: currentColor;
  transform: translateY(-50%) scale(0);
  transition: transform var(--dur) var(--ease-out);
}
.nav__menu a:hover::before { transform: translateY(-50%) scale(1); }
.rec:hover { transform: none; }
.rec:hover { box-shadow: 0 12px 30px color-mix(in oklab, var(--ink) 10%, transparent); }



/* ===== 마무리 — 마크·아이콘·인터랙션 ==============================
   담당 에이전트가 한도 초과로 착수하지 못한 작품. 직접 채웠다.
   ================================================================ */

/* ── 아이콘 ─────────────────────────────────────────────────── */
.ico { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
.nav__mark { flex: none; color: var(--brand); transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur) var(--ease); }
.nav__logo:hover .nav__mark { transform: translateY(-2px) scale(1.06); }

/* ── 인터랙션 — 내추럴 무드: 자라나고 번지는 반응 ─────────────── */
@keyframes tkGrow { from { transform: scale(.9); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes tkDrift { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-3px) } }
@keyframes tkFade { from { opacity: 0 } to { opacity: 1 } }

.btn__arrow { font-size: 1.25em; transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn { transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.btn:hover { box-shadow: 0 6px 18px color-mix(in oklab, var(--brand) 18%, transparent); }
.btn:active { transform: translateY(1px); }

.img-slot img { transition: transform var(--dur-slow) var(--ease-out); }
figure:hover img, li:hover .img-slot img, article:hover .img-slot img { transform: scale(1.04); }

summary { transition: color var(--dur) var(--ease); }
summary:hover { color: var(--brand); }
details[open] > *:not(summary) { animation: tkFade var(--dur) var(--ease-out) both; }

input, textarea, select { transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
input:hover, textarea:hover, select:hover { border-color: var(--brand); }
input:focus, textarea:focus { background: color-mix(in oklab, var(--brand) 5%, transparent); }

table tr { transition: background var(--dur) var(--ease); }
table tbody tr:hover { background: color-mix(in oklab, var(--brand) 6%, transparent); }

.ico { transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease); }
a:hover > .ico, li:hover > .ico { transform: translateY(-1px); color: var(--brand); }
dl:hover .ico { animation: tkDrift 2.4s var(--ease) infinite; }
blockquote:hover { border-color: var(--brand); }
h2:hover + p, h3:hover + p { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .ico, .btn__arrow, .img-slot img { transition: none !important; animation: none !important; } }

/* 아이콘 배치 정렬 — dt·주소는 글자와 baseline 이 아니라 중앙을 맞춰야 안정적이다 */
dt { display: flex; align-items: center; gap: var(--sp-2); }
dt .ico { color: var(--brand); }
address span { display: flex; align-items: center; gap: var(--sp-3); }
address .ico { color: var(--ink-3); font-size: var(--fs-lg); transition: color var(--dur) var(--ease); }
address span:hover .ico { color: var(--brand); }
address { display: grid; gap: var(--sp-3); }
figure { transition: opacity var(--dur) var(--ease); }
nav a { transition: color var(--dur) var(--ease); }
label { transition: color var(--dur) var(--ease); }
label:hover { color: var(--brand); }

/* ===== 티커 걷어내기 — NAT 무드에 마퀴는 어울리지 않는다 ==========
   내용(실적·목록·인증)은 실제 정보라 유지하고 장치만 바꾼다.
   ================================================================ */
/* 티커 → 감싸지는 태그 무리. 흙빛 배경에 얕게 얹는다. */
.ticker { overflow: visible; }
.ticker__track { animation: none !important; width: auto; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); }
.ticker__track > span {
  padding: var(--sp-2) var(--sp-4);
  background: color-mix(in oklab, var(--brand) 9%, transparent);
  border-radius: var(--r);
}
.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__lead { max-width: 38ch; }
html.tier-premium .section h2 { font-weight: 500; }
