/* ==========================================================================
   ATLAS GROUP — core design system
   그룹(버건디·금박·아이보리) 위에 사업별 4개의 세계(tone)가 올라간다.
   tone-ivory·tone-lease : 아이보리 코튼 + 먹 1도 (명함 01)
   tone-burgundy         : 버건디 + 금박 (명함 02 · 그룹 엠블럼)
   tone-obsidian         : 블록체인 — 옵시디언 + 바이올렛→시안
   tone-midnight         : AI 자동매매 — 미드나이트 네이비 + 은박
   tone-paper            : ATLAS 플랫폼 — 화이트 + 틸 하나, 경고만 앰버
   ========================================================================== */
:root {
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --f-mark: 'Montserrat', 'Noto Sans KR', system-ui, sans-serif;
  --f-body: 'Noto Sans KR', 'Montserrat', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --f-serif: 'Noto Serif KR', 'Nanum Myeongjo', 'AppleMyungjo', 'Batang', serif;
  --f-mono: 'JetBrains Mono', 'Noto Sans KR', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --maxw: 1240px;
  --gut-l: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --hdr-h: 72px;
  --sec-y: clamp(80px, 10vw, 148px);

  /* 그룹 · AT오토리스 (tokens.css 명함 기준) */
  --ivory: #f6f2ea; --cotton: #ede7d9; --cotton-deep: #e3dccb; --rule: #d8cfbc; --deboss: #ddd6c6;
  --ink: #141414; --ink-2: #3a3a3a; --mute: #6d675b; --label: #5c5649; --gold-ink: #7a5a1e;
  --burgundy: #4a1b25; --burgundy-deep: #3d161e; --burgundy-ink: #2b0f15; --burgundy-night: #1e0a0f;
  --cream: #f3e6d2; --cream-2: #d8c6b2; --gold: #c8a96a;
  --foil: linear-gradient(110deg, #a97f2f 0%, #f0d48a 38%, #d4ad58 58%, #8e6a24 100%);
  /* ATLAS 자동매매 */
  --midnight: #0b1220; --midnight-2: #0e1626; --navy: #0f1b33; --navy-2: #15233f;
  --silver: #eef1f5; --silver-2: #aeb6c4; --slate: #5e6878;
  --silver-foil: linear-gradient(110deg, #7d8696 0%, #eef1f5 38%, #b7bfcb 58%, #5f6877 100%);
  --up: #ff5f5f; --down: #4f8fff;
  /* 블록체인 */
  --obsidian: #08070d; --obsidian-2: #100e18; --obsidian-3: #17142a;
  --violet: #8b6cff; --cyan: #45d4ff; --mint: #5cf2c0;
  --chain-grad: linear-gradient(110deg, #8b6cff 0%, #45d4ff 55%, #5cf2c0 100%);
  /* ATLAS 플랫폼 */
  --teal: #0f766e; --teal-2: #14b8a6; --teal-ink: #0b4f4a; --amber: #d97706;
  --paper: #f5f8f7;

  /* 사업별 대표색 (점·칩) */
  --c-chain: #8b6cff; --c-trade: #b7c3d6; --c-platform: #14b8a6; --c-lease: #c8a96a; --c-group: #c8a96a;
  /* 그룹 서비스 (2026-10-18) — 기획실 · 마케팅 · VIP · 파트너스 */
  --c-studio: #b4324d; --c-mkt: #ff5a36; --c-vip: #d8c398; --c-partners: #2f7d5b;
  --wine: #6b1f31; --wine-2: #8c2a3e; --rose-gold: linear-gradient(110deg, #9c6b5a 0%, #f2cdb8 40%, #d9a48d 60%, #7d4f40 100%);
  --charcoal: #111317; --charcoal-2: #181b21; --charcoal-3: #20242c; --coral: #ff5a36; --amber-2: #ffb547;
  --mkt-grad: linear-gradient(110deg, #ff5a36 0%, #ff7a3d 45%, #ffb547 100%);
  --noir: #0a0a0b; --noir-2: #131315; --noir-3: #1b1b1e; --champagne: #d8c398; --champagne-2: #f1e3c2;
  --champagne-foil: linear-gradient(110deg, #8f7a50 0%, #f1e3c2 38%, #cdb27a 58%, #7a6440 100%);
  --sage: #f1f4ee; --sage-2: #e3e9de; --forest: #123b2f; --forest-2: #1d5442; --brass: #b08a43;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --shadow-card: 0 1px 0 #e4dccb, 0 2px 0 #d8cfbc, 0 3px 0 #c9c0ad, 0 18px 30px -10px rgba(70, 50, 25, .38);
  --shadow-card-burgundy: 0 1px 0 #3d161e, 0 2px 0 #341219, 0 3px 0 #2b0f15, 0 20px 32px -10px rgba(30, 10, 15, .6);
  color-scheme: light;
}

/* ---------- tones: 의미 토큰 ---------- */
.tone-ivory, .tone-group, .tone-lease {
  --bg: var(--ivory); --surface: var(--cotton); --surface-2: var(--cotton-deep); --line: var(--rule); --line-2: #c9bfa9;
  --fg: var(--ink); --fg-2: var(--ink-2); --muted: var(--mute); --label-c: var(--label);
  --accent: var(--burgundy); --accent-2: var(--gold-ink); --accent-fg: var(--cream); --glow: rgba(122, 90, 30, .35);
  --btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-r: 2px; --card-r: 2px; --field-r: 2px;
  --card-bg: var(--cotton); --card-line: transparent; --card-shadow: var(--shadow-card);
  --f-label: var(--f-mark); --err: #a12d2d; --ok: #2f6b3a; --is-dark: 0;
  background-color: var(--bg); color: var(--fg);
}
.tone-burgundy {
  --bg: var(--burgundy); --surface: var(--burgundy-deep); --surface-2: var(--burgundy-ink); --line: rgba(243, 230, 210, .14); --line-2: rgba(243, 230, 210, .26);
  --fg: var(--cream); --fg-2: var(--cream-2); --muted: var(--cream-2); --label-c: var(--gold);
  --accent: var(--gold); --accent-2: #f0d48a; --accent-fg: var(--burgundy-ink); --glow: rgba(240, 212, 138, .32);
  --btn-bg: var(--foil); --btn-fg: var(--burgundy-ink); --btn-r: 2px; --card-r: 2px; --field-r: 2px;
  --card-bg: var(--burgundy-deep); --card-line: rgba(243, 230, 210, .1); --card-shadow: var(--shadow-card-burgundy);
  --f-label: var(--f-mark); --err: #ffb4a8; --ok: #b9e3b0; --is-dark: 1;
  background-color: var(--bg); color: var(--fg); color-scheme: dark;
}
.tone-obsidian, .tone-chain {
  --bg: var(--obsidian); --surface: var(--obsidian-2); --surface-2: var(--obsidian-3); --line: rgba(236, 235, 245, .08); --line-2: rgba(236, 235, 245, .16);
  --fg: #ecebf5; --fg-2: #c6c3d8; --muted: #9a96b2; --label-c: #b3a6ff;
  --accent: var(--violet); --accent-2: var(--cyan); --accent-fg: #0b0a12; --glow: rgba(139, 108, 255, .45);
  --btn-bg: var(--chain-grad); --btn-fg: #0b0a12; --btn-r: 999px; --card-r: 22px; --field-r: 14px;
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015) 70%, rgba(139, 108, 255, .06));
  --card-line: rgba(255, 255, 255, .07); --card-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 16px 40px rgba(0, 0, 0, .35);
  --f-label: var(--f-mono); --err: #ff8f8f; --ok: var(--mint); --is-dark: 1;
  background-color: var(--bg); color: var(--fg); color-scheme: dark;
}
.tone-midnight, .tone-trade {
  --bg: var(--midnight); --surface: var(--navy); --surface-2: var(--navy-2); --line: rgba(238, 241, 245, .09); --line-2: rgba(238, 241, 245, .18);
  --fg: var(--silver); --fg-2: #cfd5df; --muted: var(--silver-2); --label-c: var(--silver-2);
  --accent: #dfe6f1; --accent-2: #9fc3ff; --accent-fg: var(--navy); --glow: rgba(159, 195, 255, .3);
  --btn-bg: var(--silver-foil); --btn-fg: #0b1220; --btn-r: 4px; --card-r: 14px; --field-r: 8px;
  --card-bg: linear-gradient(180deg, rgba(238, 241, 245, .05), rgba(238, 241, 245, .012) 75%);
  --card-line: rgba(238, 241, 245, .08); --card-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 44px rgba(0, 0, 0, .4);
  --f-label: var(--f-mono); --err: #ff9a9a; --ok: #7fe3b0; --is-dark: 1;
  background-color: var(--bg); color: var(--fg); color-scheme: dark;
}
.tone-paper, .tone-platform {
  --bg: var(--paper); --surface: #ffffff; --surface-2: #ecf3f1; --line: #dbe5e2; --line-2: #c3d3cf;
  --fg: #0f1f1d; --fg-2: #33433f; --muted: #56655f; --label-c: var(--teal);
  --accent: var(--teal); --accent-2: var(--teal-2); --accent-fg: #ffffff; --glow: rgba(20, 184, 166, .28);
  --btn-bg: var(--teal); --btn-fg: #ffffff; --btn-r: 999px; --card-r: 20px; --field-r: 12px;
  --card-bg: #ffffff; --card-line: #dbe5e2; --card-shadow: 0 1px 2px rgba(15, 31, 29, .04), 0 12px 32px -12px rgba(15, 31, 29, .12);
  --f-label: var(--f-mark); --err: #b42318; --ok: var(--teal); --is-dark: 0;
  background-color: var(--bg); color: var(--fg);
}
/* 기획실 — 와인 버건디 + 로즈골드·금박 */
.tone-studio {
  --bg: #3a1019; --surface: #4a1b25; --surface-2: #2b0f15; --line: rgba(243, 230, 210, .14); --line-2: rgba(243, 230, 210, .26);
  --fg: var(--cream); --fg-2: var(--cream-2); --muted: #cdb8a6; --label-c: #f2cdb8;
  --accent: #f0d48a; --accent-2: #f2cdb8; --accent-fg: var(--burgundy-ink); --glow: rgba(242, 205, 184, .32);
  --btn-bg: var(--foil); --btn-fg: var(--burgundy-ink); --btn-r: 2px; --card-r: 4px; --field-r: 2px;
  --card-bg: linear-gradient(180deg, rgba(255, 240, 230, .06), rgba(255, 240, 230, .015) 70%); --card-line: rgba(243, 230, 210, .12); --card-shadow: var(--shadow-card-burgundy);
  --f-label: var(--f-mark); --err: #ffb4a8; --ok: #b9e3b0; --is-dark: 1;
  background-color: var(--bg); color: var(--fg); color-scheme: dark;
}
/* 마케팅 — 차콜 + 코랄 시그널 */
.tone-mkt {
  --bg: var(--charcoal); --surface: var(--charcoal-2); --surface-2: var(--charcoal-3); --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16);
  --fg: #f4f1ee; --fg-2: #d3cdc7; --muted: #a39b94; --label-c: #ff8a6b;
  --accent: var(--coral); --accent-2: var(--amber-2); --accent-fg: #160b06; --glow: rgba(255, 90, 54, .4);
  --btn-bg: var(--mkt-grad); --btn-fg: #160b06; --btn-r: 999px; --card-r: 20px; --field-r: 12px;
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015) 70%, rgba(255, 90, 54, .05)); --card-line: rgba(255, 255, 255, .07); --card-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 16px 40px rgba(0, 0, 0, .4);
  --f-label: var(--f-mono); --err: #ff9a8a; --ok: #7fe3b0; --is-dark: 1;
  background-color: var(--bg); color: var(--fg); color-scheme: dark;
}
/* VIP 멤버십 — 누아르 블랙 + 샴페인 골드 */
.tone-vip {
  --bg: var(--noir); --surface: var(--noir-2); --surface-2: var(--noir-3); --line: rgba(241, 227, 194, .1); --line-2: rgba(241, 227, 194, .2);
  --fg: #f2efe8; --fg-2: #d6cfc0; --muted: #a59c8a; --label-c: var(--champagne);
  --accent: var(--champagne); --accent-2: var(--champagne-2); --accent-fg: #14110a; --glow: rgba(216, 195, 152, .3);
  --btn-bg: var(--champagne-foil); --btn-fg: #14110a; --btn-r: 2px; --card-r: 6px; --field-r: 2px;
  --card-bg: linear-gradient(180deg, rgba(241, 227, 194, .05), rgba(241, 227, 194, .012) 70%); --card-line: rgba(241, 227, 194, .1); --card-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 22px 50px rgba(0, 0, 0, .55);
  --f-label: var(--f-mark); --err: #ffb4a8; --ok: #b9e3b0; --is-dark: 1;
  background-color: var(--bg); color: var(--fg); color-scheme: dark;
}
/* 파트너스 — 세이지 페이퍼 + 포레스트 그린 · 브라스 */
.tone-partners {
  --bg: var(--sage); --surface: #ffffff; --surface-2: var(--sage-2); --line: #d9e1d4; --line-2: #c3cfbc;
  --fg: #12201a; --fg-2: #35463d; --muted: #5d6d63; --label-c: var(--forest-2);
  --accent: var(--forest); --accent-2: var(--brass); --accent-fg: #f1f4ee; --glow: rgba(47, 125, 91, .28);
  --btn-bg: var(--forest); --btn-fg: #f1f4ee; --btn-r: 4px; --card-r: 14px; --field-r: 8px;
  --card-bg: #ffffff; --card-line: #d9e1d4; --card-shadow: 0 1px 2px rgba(18, 32, 26, .05), 0 14px 34px -14px rgba(18, 32, 26, .18);
  --f-label: var(--f-mark); --err: #b42318; --ok: var(--forest-2); --is-dark: 0;
  background-color: var(--bg); color: var(--fg);
}

/* ---------- reset · base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.7 var(--f-body); color: var(--ink); background: var(--page-bg, var(--ivory)); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 90; background: var(--page-bg, var(--ivory)); }
.app { min-height: 100vh; overflow-x: clip; }
img, svg, video, canvas { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { word-break: keep-all; text-wrap: balance; }
p, li, dd, dt, td, th, label, summary, span, small, b, strong, em { word-break: keep-all; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--accent-2, #7a5a1e); outline-offset: 3px; border-radius: 2px; }
::selection { background: rgba(200, 169, 106, .35); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--ivory); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }
.num { font-family: var(--f-mark); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.mono { font-family: var(--f-mono); }
.serif { font-family: var(--f-serif); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* 앵커 이동 시 고정 헤더만큼 띄우기 */
[id] { scroll-margin-top: calc(var(--hdr-h) + 64px); }

/* ---------- 레이아웃 ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + 40px); margin-inline: auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.wrap--narrow { max-width: 920px; }
.wrap--wide { max-width: 1440px; }
.sec { position: relative; padding-block: var(--sec-y); }
.sec--tight { padding-block: clamp(56px, 7vw, 96px); }
.sec + .sec.same { padding-top: 0; }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 타이포 ---------- */
.eyebrow { font: 600 12px/1.3 var(--f-label, var(--f-mark)); letter-spacing: .26em; text-transform: uppercase; color: var(--label-c, var(--label)); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--plain::before { display: none; }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-title { font: 800 clamp(28px, 3.7vw, 50px)/1.2 var(--f-body); letter-spacing: -.035em; color: var(--fg); }
.sec-title em, .h-display em { font-style: normal; color: var(--accent); }
.sec-lead { font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.8; color: var(--fg-2); max-width: 40em; }
.h-display { font: 900 clamp(40px, 6.6vw, 96px)/1.06 var(--f-body); letter-spacing: -.045em; }
.h-1 { font: 800 clamp(34px, 5vw, 68px)/1.12 var(--f-body); letter-spacing: -.04em; }
.h-3 { font: 700 clamp(19px, 1.6vw, 22px)/1.4 var(--f-body); letter-spacing: -.02em; }
.lead { font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.8; color: var(--fg-2); }
.small { font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.note { font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.wordmark { font: 800 1em/1 var(--f-mark); letter-spacing: .16em; text-transform: uppercase; }

/* 금박·은박 글자 (24px 이상 · 어두운 바탕) — 빛이 천천히 흐름 */
.foil-gold, .foil-silver, .foil-chain { background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foilShift 7s ease-in-out infinite alternate; }
.foil-gold { background-image: linear-gradient(110deg, #a97f2f 0%, #f0d48a 30%, #d4ad58 48%, #8e6a24 66%, #e9c97c 84%, #a97f2f 100%); }
.foil-silver { background-image: linear-gradient(110deg, #7d8696 0%, #eef1f5 30%, #b7bfcb 48%, #5f6877 66%, #e6eaf0 84%, #7d8696 100%); }
.foil-chain { background-image: linear-gradient(110deg, #8b6cff 0%, #45d4ff 35%, #5cf2c0 55%, #8b6cff 80%, #45d4ff 100%); }
@keyframes foilShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* 종이 결 · 무잉크 음각 (명함 물성) */
.paper { position: relative; isolation: isolate; }
.paper::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: .3; mix-blend-mode: multiply; border-radius: inherit; }
.tone-burgundy .paper::after, .paper--dark::after { opacity: .2; mix-blend-mode: screen; }
.deboss { color: var(--deboss); text-shadow: 1px 1px 0 rgba(255, 250, 238, .95), -1px -1px 1px rgba(60, 45, 20, .5); }
.deboss--burgundy { color: #42171f; text-shadow: 1px 1px 0 rgba(120, 60, 75, .7), -1px -1px 1px rgba(15, 3, 6, .75); }
svg.deboss { fill: var(--deboss); filter: drop-shadow(1px 1px 0 rgba(255, 250, 238, .95)) drop-shadow(-1px -1px 1px rgba(60, 45, 20, .5)); }
svg.deboss--burgundy { color: #42171f; filter: drop-shadow(2px 2px 0 rgba(120, 60, 75, .7)) drop-shadow(-2px -2px 1.5px rgba(15, 3, 6, .75)); }

/* ---------- 상단 띠 ---------- */
.topline { position: relative; z-index: 60; height: 36px; display: flex; align-items: center; font-size: 12.5px; letter-spacing: .01em; background: var(--ink); color: var(--cream-2); overflow: hidden; }
.world-chain .topline { background: #05040a; color: #b9b4d4; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.world-trade .topline { background: #070c16; color: var(--silver-2); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.world-platform .topline { background: var(--teal-ink); color: #d7efeb; }
.topline .marquee { width: 100%; }
.topline__item { display: inline-flex; align-items: center; gap: 10px; padding-inline: 28px; white-space: nowrap; }
.topline__item b { color: var(--cream); font-weight: 600; }
.world-chain .topline__item b { color: #fff; } .world-trade .topline__item b { color: var(--silver); } .world-platform .topline__item b { color: #fff; }
.topline__item i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
.topline__static { width: 100%; display: flex; justify-content: center; gap: 18px; padding-inline: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 헤더 ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 70; --hfg: var(--ink); --hbg: transparent; --hline: transparent; color: var(--hfg); background: var(--hbg); border-bottom: 1px solid var(--hline); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.hdr.is-solid { --hbg: color-mix(in srgb, var(--page-bg) 86%, transparent); --hline: color-mix(in srgb, var(--ink) 10%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.hdr.on-dark { --hfg: var(--cream); }
.world-chain .hdr.on-dark { --hfg: #ecebf5; } .world-trade .hdr.on-dark { --hfg: var(--silver); }
.hdr.on-dark.is-solid { --hbg: color-mix(in srgb, var(--hdr-dark, #1e0a0f) 78%, transparent); --hline: rgba(255, 255, 255, .08); }
.world-chain { --hdr-dark: #08070d; } .world-trade { --hdr-dark: #0b1220; } .world-group, .world-lease { --hdr-dark: #2b0f15; }
.hdr__in { height: var(--hdr-h); display: flex; align-items: center; gap: 28px; max-width: calc(var(--maxw) + 40px); margin-inline: auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.hdr__logo { display: inline-flex; align-items: center; flex: none; }
.hdr__logo .logo { height: 22px; width: auto; color: currentColor; transition: opacity .2s; }
.hdr__logo:hover .logo { opacity: .8; }
.hdr__nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; opacity: .86; transition: opacity .2s, background .2s; border-radius: 2px; }
.nav-link:hover, .nav-link[aria-current="page"] { opacity: 1; }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: currentColor; }
.nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 var(--c); transition: box-shadow .3s var(--ease), transform .3s var(--ease); flex: none; }
.nav-link[data-w="chain"] { --c: var(--c-chain); } .nav-link[data-w="trade"] { --c: #8fa6c8; } .nav-link[data-w="platform"] { --c: var(--c-platform); } .nav-link[data-w="lease"] { --c: #b08a43; } .nav-link[data-w="group"] { --c: transparent; }
.nav-link[data-w="group"] .nav-dot { display: none; }
.nav-link:hover .nav-dot { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent); transform: scale(1.15); }
.hdr__act { display: flex; align-items: center; gap: 10px; }
.hdr .btn--hdr { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 2px; background: var(--hfg); color: var(--ivory); }
.hdr.on-dark .btn--hdr { color: var(--hdr-dark, #2b0f15); }
.world-platform .hdr .btn--hdr { background: var(--teal); color: #fff; border-radius: 999px; }
.world-chain .hdr .btn--hdr { background: var(--chain-grad); color: #0b0a12; border-radius: 999px; }
.world-trade .hdr .btn--hdr { background: var(--silver-foil); color: #0b1220; border-radius: 4px; }
html.menu-open .hdr .btn--hdr { display: none; }
.hdr__burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 2px; }
.hdr__burger .ico { width: 24px; height: 24px; }
@media (max-width: 1100px) { .hdr__nav { display: none; } .hdr__burger { display: inline-flex; } .hdr__act { margin-left: auto; } }
@media (max-width: 520px) { .hdr .btn--hdr { display: none; } .hdr__logo .logo { height: 19px; } }
/* 다크 히어로는 헤더 뒤까지 깔린다 */
[data-hero="dark"] .hero-under { margin-top: calc(-1 * var(--hdr-h)); padding-top: var(--hdr-h); }
/* 페이지 목차(45px)가 있는 다크 히어로는 목차 뒤까지 */
.app[data-hero="dark"]:has(.subnav) .hero-under { margin-top: calc(-1 * (var(--hdr-h) + 45px)); padding-top: calc(var(--hdr-h) + 45px); }

/* 페이지 목차 (긴 페이지) */
.subnav { border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent); }
.subnav__in { display: flex; gap: 2px; max-width: calc(var(--maxw) + 40px); margin-inline: auto; padding-left: var(--gut-l); padding-right: var(--gut-r); overflow-x: auto; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; height: 44px; display: inline-flex; align-items: center; padding: 0 12px; font-size: 13.5px; opacity: .72; white-space: nowrap; position: relative; transition: opacity .2s; }
.subnav a:hover { opacity: 1; }
.subnav a.is-active { opacity: 1; font-weight: 700; }
.subnav a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: currentColor; }
html.menu-open .subnav { display: none; } /* 모바일 메뉴가 열리면 페이지 목차는 숨김 (메뉴 첫 줄을 가리지 않게) */

/* 모바일 메뉴 — 사선 띠 4개 */
.mnav { position: fixed; inset: 0; z-index: 65; background: var(--burgundy-night); color: var(--cream); padding-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px)); overflow-y: auto; }
.mnav::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .12; mix-blend-mode: screen; pointer-events: none; }
.mnav__in { position: relative; z-index: 1; padding: 20px var(--gut-r) calc(32px + env(safe-area-inset-bottom, 0px)) var(--gut-l); display: grid; gap: 28px; max-width: 640px; margin-inline: auto; }
.mnav__label { font: 600 11px/1 var(--f-mark); letter-spacing: .3em; color: var(--gold); }
.mnav__list { display: grid; gap: 10px; }
.mnav__item { --c: var(--gold); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 22px 18px 26px; position: relative; isolation: isolate; opacity: 0; transform: translateX(28px); animation: mnavIn .5s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + 60ms); }
.mnav__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--c) 16%, #1e0a0f); clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); border-left: 0; }
.mnav__item--chain { --c: var(--violet); } .mnav__item--trade { --c: #9fb3d4; } .mnav__item--platform { --c: var(--teal-2); } .mnav__item--lease { --c: var(--gold); }
.mnav__num { font: 600 12px/1 var(--f-mono); color: var(--c); }
.mnav__t { display: grid; gap: 4px; }
.mnav__t b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.mnav__t small { font: 600 10.5px/1 var(--f-mark); letter-spacing: .22em; color: var(--cream-2); }
.mnav__item .ico { color: var(--c); }
.mnav__sub { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--cream-2); }
.mnav__sub a { padding: 6px 0; border-bottom: 1px solid rgba(243, 230, 210, .2); }
.mnav__tel { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; border-top: 1px solid rgba(243, 230, 210, .14); font-size: 13px; color: var(--cream-2); }
.mnav__tel b { font-size: 20px; color: var(--cream); }
@keyframes mnavIn { to { opacity: 1; transform: none; } }
html.menu-open { overflow: hidden; }
html.menu-open .hdr { --hfg: var(--cream); --hbg: var(--burgundy-night); --hline: transparent; }

/* ---------- 버튼 ---------- */
.btn { --b-bg: var(--btn-bg); --b-fg: var(--btn-fg); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; font: 700 15px/1 var(--f-body); letter-spacing: -.01em; border-radius: var(--btn-r, 2px); background: var(--b-bg); color: var(--b-fg); border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s; isolation: isolate; overflow: hidden; white-space: nowrap; cursor: pointer; }
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .38) 48%, transparent 62%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--fg); border-color: color-mix(in srgb, var(--fg) 34%, transparent); }
.btn--ghost:hover { border-color: var(--fg); box-shadow: none; }
.btn--ghost::after { display: none; }
.btn--sm { height: 42px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 60px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--fg); border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); padding-bottom: 3px; transition: gap .2s var(--ease), border-color .2s; }
.link-arrow:hover { gap: 12px; border-color: currentColor; }
.link-arrow .ico { width: 16px; height: 16px; }

/* ---------- 카드 · 스포트라이트 ---------- */
.card { position: relative; border-radius: var(--card-r); background: var(--card-bg); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); padding: clamp(22px, 2.4vw, 32px); transition: transform .25s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); isolation: isolate; min-width: 0; }
.card--hover:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c, var(--accent)) 55%, transparent); box-shadow: var(--card-shadow), 0 0 0 1px color-mix(in srgb, var(--c, var(--accent)) 35%, transparent), 0 18px 48px -12px color-mix(in srgb, var(--c, var(--accent)) 40%, transparent); }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .3s var(--ease); background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c, var(--accent)) 22%, transparent), transparent 62%); }
.spot:hover::after { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
.card__ico { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: calc(var(--card-r) * .6 + 4px); background: color-mix(in srgb, var(--c, var(--accent)) 14%, transparent); color: var(--c, var(--accent)); margin-bottom: 20px; }
.card__ico .ico { width: 24px; height: 24px; }
.card__t { font: 700 clamp(18px, 1.5vw, 21px)/1.4 var(--f-body); letter-spacing: -.025em; margin-bottom: 10px; color: var(--fg); }
.card__d { color: var(--fg-2); font-size: 15px; line-height: 1.75; }
.card__list { display: grid; gap: 8px; margin-top: 16px; }
.card__list li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.6; color: var(--fg-2); }
.card__list li .ico { width: 18px; height: 18px; color: var(--c, var(--accent)); margin-top: 2px; }

/* 배지 · 태그 · 칩 */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; font: 600 11.5px/1 var(--f-body); letter-spacing: .02em; border-radius: 999px; background: color-mix(in srgb, var(--c, var(--accent)) 14%, transparent); color: var(--c, var(--accent)); border: 1px solid color-mix(in srgb, var(--c, var(--accent)) 28%, transparent); white-space: nowrap; }
.badge--soon { --c: var(--amber); }
.tone-midnight .badge--soon, .tone-obsidian .badge--soon { --c: #f4b860; }
.badge--core { --c: var(--accent-2); }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; font-size: 13px; border-radius: var(--btn-r); border: 1px solid var(--line-2); color: var(--fg-2); white-space: nowrap; }

/* ---------- 흐르는 줄 (마퀴) ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 70s) linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 스크롤 등장 (멈춰 있어도 보이는 기본 상태) ---------- */
.rv-wait { opacity: 0; transform: translateY(24px); }
.rv-in { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--rv-i, 0) * 80ms); }
.rv-wait.rv-fade { transform: none; }

/* ---------- 단계 파이프라인 ---------- */
.pipe { --n: 5; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); padding-top: 34px; }
.pipe__rail { position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--line-2); border-radius: 2px; }
.pipe__fill { position: absolute; left: 0; top: 10px; height: 2px; width: var(--fill, 0%); background: var(--accent); border-radius: 2px; transition: width 1.1s var(--ease); box-shadow: 0 0 12px var(--glow); }
.pipe__dot { position: absolute; top: 4px; left: calc(var(--fill, 0%) - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent), 0 0 18px var(--glow); transition: left 1.1s var(--ease); }
.pipe__step { position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); }
.pipe__step.is-current { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: var(--card-shadow), 0 16px 40px -14px var(--glow); }
.pipe__no { font: 600 12px/1 var(--f-label); letter-spacing: .2em; color: var(--label-c); margin-bottom: 14px; display: block; }
@media (max-width: 900px) {
  .pipe { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 34px; }
  .pipe__rail { left: 10px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .pipe__fill { left: 10px; top: 0; width: 2px; height: var(--fill, 0%); transition: height 1.1s var(--ease); }
  .pipe__dot { left: 4px; top: calc(var(--fill, 0%) - 7px); transition: top 1.1s var(--ease); }
}

/* ---------- FAQ 아코디언 ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q { list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; font: 700 clamp(16px, 1.3vw, 18px)/1.55 var(--f-body); letter-spacing: -.02em; color: var(--fg); }
.acc__q::-webkit-details-marker { display: none; }
.acc__q .q { color: var(--accent); margin-right: 10px; font-family: var(--f-mark); }
.acc__q .ico { flex: none; width: 22px; height: 22px; margin-top: 2px; transition: transform .3s var(--ease); color: var(--muted); }
.acc__item[open] .acc__q .ico { transform: rotate(45deg); color: var(--accent); }
.acc__a { padding: 0 4px 24px 30px; color: var(--fg-2); line-height: 1.85; max-width: 62em; }
.acc__item[open] .acc__a { animation: accIn .4s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } }
.acc__cat { font: 600 11px/1 var(--f-label); letter-spacing: .14em; color: var(--muted); margin-right: 10px; vertical-align: 2px; }

/* ---------- 탭 · 세그먼트 ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { height: 42px; padding: 0 18px; border-radius: var(--btn-r); border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 600; color: var(--fg-2); transition: all .2s var(--ease); white-space: nowrap; }
.tab:hover { border-color: var(--fg); color: var(--fg); }
.tab[aria-selected="true"], .tab.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); box-shadow: 0 6px 18px -8px var(--glow); }
.tone-obsidian .tab[aria-selected="true"], .tone-obsidian .tab.is-on { background: var(--chain-grad); color: #0b0a12; border-color: transparent; box-shadow: 0 0 24px -4px var(--glow), inset 0 1px 0 rgba(255,255,255,.4); }
.tone-paper .tab[aria-selected="true"], .tone-paper .tab.is-on { background: var(--teal); color: #fff; border-color: var(--teal); }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: calc(var(--btn-r) + 4px); background: var(--surface-2); border: 1px solid var(--line); }
.seg button { height: 38px; padding: 0 16px; border-radius: var(--btn-r); font-size: 14px; font-weight: 600; color: var(--fg-2); transition: all .2s var(--ease); }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); box-shadow: 0 4px 14px -6px var(--glow); }

/* ---------- 폼 ---------- */
.form-card { position: relative; border-radius: calc(var(--card-r) + 2px); background: var(--surface); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); padding: clamp(22px, 3vw, 40px); }
.tone-ivory .form-card, .tone-lease .form-card, .tone-group .form-card { background: var(--cotton); }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 9px; min-width: 0; }
.field__label { font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: var(--fg); }
.field__label .req, .req { color: var(--err); font-style: normal; margin-left: 2px; }
.field__label .opt, .opt { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.field__hint { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.field__err { font-size: 13px; color: var(--err); min-height: 0; }
.field__err:empty { display: none; }
.inp { width: 100%; min-width: 0; height: 52px; padding: 0 16px; font: 500 16px/1.4 var(--f-body); color: var(--fg); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--field-r); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none; }
textarea.inp { height: auto; padding: 14px 16px; line-height: 1.6; resize: vertical; min-height: 110px; }
.inp::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.inp:hover { border-color: color-mix(in srgb, var(--fg) 45%, transparent); }
.inp:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.field.is-error .inp, .field.is-error .chips { border-color: var(--err); }
.field.is-error .inp { box-shadow: 0 0 0 3px color-mix(in srgb, var(--err) 14%, transparent); }
.sel { position: relative; }
.sel select.inp { padding-right: 44px; cursor: pointer; }
.sel .ico { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; pointer-events: none; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border-radius: var(--field-r); border: 1px solid transparent; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; font-size: 14.5px; font-weight: 500; border-radius: var(--btn-r); border: 1px solid var(--line-2); background: var(--bg); color: var(--fg-2); transition: all .2s var(--ease); line-height: 1.35; }
.chip:hover span { border-color: var(--fg); color: var(--fg); }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); font-weight: 700; box-shadow: 0 6px 16px -8px var(--glow); }
.tone-obsidian .chip input:checked + span { background: var(--chain-grad); color: #0b0a12; border-color: transparent; box-shadow: 0 0 22px -6px var(--glow); }
.tone-midnight .chip input:checked + span { background: var(--silver); color: var(--navy); border-color: var(--silver); }
.tone-paper .chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14.5px; line-height: 1.55; color: var(--fg); position: relative; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check__box { flex: none; width: 22px; height: 22px; border-radius: 4px; border: 1.5px solid var(--line-2); background: var(--bg); display: grid; place-items: center; transition: all .2s var(--ease); }
.check__box .ico { width: 15px; height: 15px; opacity: 0; transform: scale(.6); transition: all .2s var(--ease); color: var(--bg); stroke-width: 2.4; }
.check input:checked + .check__box { background: var(--fg); border-color: var(--fg); }
.tone-paper .check input:checked + .check__box { background: var(--teal); border-color: var(--teal); }
.tone-obsidian .check input:checked + .check__box { background: var(--violet); border-color: var(--violet); }
.check input:checked + .check__box .ico { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check--sub { font-size: 13.5px; color: var(--fg-2); }
.consent { display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--field-r); background: color-mix(in srgb, var(--surface-2) 70%, transparent); border: 1px solid var(--line); }
.consent__more summary { font-size: 12.5px; color: var(--muted); cursor: pointer; display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
.consent__more p, .consent__dl { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-top: 8px; }
.consent__dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.consent__dl dt { font-weight: 700; color: var(--fg-2); }
.consent__more a { text-decoration: underline; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* 단계 표시 */
.steps { display: flex; gap: 6px; margin-bottom: 28px; }
.steps__i { flex: 1; display: grid; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.steps__i::before { content: ""; height: 3px; border-radius: 3px; background: var(--line-2); transition: background .4s var(--ease), box-shadow .4s; }
.steps__i.is-done::before, .steps__i.is-on::before { background: var(--accent); }
.steps__i.is-on { color: var(--fg); }
.steps__i.is-on::before { box-shadow: 0 0 12px var(--glow); }
.step-pane { display: grid; gap: 22px; }
.step-pane[hidden] { display: none !important; }
.step-pane.is-entering { animation: paneIn .38s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(12px); } }
.form__nav { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 4px; }
.form__nav .btn--ghost { flex: none; }
.form__nav [data-next], .form__nav [type="submit"] { margin-left: auto; }
.form__mini { font-size: 12.5px; color: var(--muted); line-height: 1.6; text-align: center; }
.form-done { display: grid; gap: 18px; text-align: left; animation: paneIn .45s var(--ease); }
.form-done__mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-fg); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 16%, transparent); }
.form-done__mark .ico { width: 28px; height: 28px; stroke-width: 2.2; }
.form-done h3 { font: 800 clamp(22px, 2.2vw, 28px)/1.35 var(--f-body); letter-spacing: -.03em; }
.form-done dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; padding: 18px; border-radius: var(--field-r); background: var(--bg); border: 1px solid var(--line); font-size: 14.5px; }
.form-done dt { color: var(--muted); }
.form-done dd { font-weight: 600; color: var(--fg); }
.preview-note { font-size: 12.5px; padding: 10px 14px; border-radius: var(--field-r); background: color-mix(in srgb, var(--amber) 14%, transparent); color: var(--fg); border: 1px dashed color-mix(in srgb, var(--amber) 50%, transparent); }

/* 번호 복사 상자 */
.telbox { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: var(--field-r); border: 1px solid var(--line-2); background: var(--bg); }
.telbox__n { font: 700 clamp(20px, 2vw, 24px)/1 var(--f-mark); font-variant-numeric: tabular-nums; letter-spacing: .01em; user-select: all; }
.telbox small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }

/* ---------- 모달 ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(12, 6, 8, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .25s var(--ease); }
.modal[hidden] { display: none !important; }
.modal__panel { position: relative; width: min(960px, 100%); max-height: min(88vh, 900px); overflow: auto; border-radius: calc(var(--card-r) + 4px); background: var(--bg); color: var(--fg); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .6); animation: modalIn .38s var(--ease-out); overscroll-behavior: contain; }
.modal__close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--bg) 82%, transparent); border: 1px solid var(--line); }
.modal__close .ico { width: 22px; height: 22px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.985); } }
html.modal-open { overflow: hidden; }

/* ---------- 토스트 · 성공 파티클 ---------- */
.toasts { position: fixed; z-index: 140; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: #161214; color: #f5efe6; font-size: 14px; line-height: 1.55; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); animation: toastIn .4s var(--ease-out); pointer-events: auto; border: 1px solid rgba(255, 255, 255, .08); }
.toast .ico { width: 20px; height: 20px; color: var(--gold); margin-top: 1px; }
.toast--err .ico { color: #ff8f8f; }
.toast.is-out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
.fx-burst { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 150; }

/* ---------- 큰 숫자 · 지표 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(22px, 3vw, 36px) clamp(14px, 2vw, 28px); display: grid; gap: 8px; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; }
.stat__n { font: 700 clamp(34px, 4.4vw, 60px)/1 var(--f-mark); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--fg); }
.stat__n small { font-size: .42em; font-weight: 600; margin-left: 4px; color: var(--fg-2); letter-spacing: 0; font-family: var(--f-body); }
.stat__l { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- 푸터 (모든 페이지는 그룹 버건디로 닫힌다) ---------- */
.ftr { position: relative; background: var(--burgundy-night); color: var(--cream-2); padding-block: clamp(64px, 8vw, 104px) calc(28px + env(safe-area-inset-bottom, 0px)); isolation: isolate; overflow: hidden; }
.ftr::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .1; mix-blend-mode: screen; pointer-events: none; }
.ftr__in { max-width: calc(var(--maxw) + 40px); margin-inline: auto; padding-left: var(--gut-l); padding-right: var(--gut-r); display: grid; gap: 44px; }
.ftr__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid rgba(243, 230, 210, .12); }
.ftr__logo .logo { height: 30px; width: auto; }
.ftr__slogan { display: grid; gap: 6px; text-align: right; }
.ftr__slogan .serif { font-size: clamp(22px, 2.4vw, 30px); color: var(--cream); font-weight: 600; letter-spacing: -.02em; }
.ftr__slogan small { font: 600 11px/1 var(--f-mark); letter-spacing: .3em; color: var(--gold); }
.ftr__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ftr__col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; min-width: 0; }
.ftr__col a { width: fit-content; transition: color .2s; }
.ftr__col a:hover { color: var(--gold); }
.ftr__h { font: 600 11px/1 var(--f-mark); letter-spacing: .28em; color: var(--gold); margin-bottom: 8px; }
.ftr__col--contact p { display: grid; gap: 2px; }
.ftr__col--contact span { font-size: 12px; color: rgba(216, 198, 178, .75); }
.ftr__col--contact b { color: var(--cream); font-weight: 600; font-size: 15px; }
.ftr__legal { display: grid; gap: 6px; font-size: 12.5px; line-height: 1.75; color: rgba(216, 198, 178, .82); }
.ftr__legal--page { padding: 18px 20px; border: 1px solid rgba(243, 230, 210, .12); border-radius: 2px; }
.ftr__legal a { text-decoration: underline; text-underline-offset: 3px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(243, 230, 210, .12); font-size: 12.5px; color: rgba(216, 198, 178, .8); }
.ftr__links { display: flex; flex-wrap: wrap; gap: 18px; }
.ftr__links b { color: var(--cream); }
@media (max-width: 900px) { .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr__slogan { text-align: left; } }

/* ---------- 공용 히어로 효과 레이어 ---------- */
.fx-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fx-grain::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .035; pointer-events: none; }
.aurora { position: absolute; inset: -20%; pointer-events: none; filter: blur(90px); opacity: var(--aurora-o, .5); }
.aurora i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; background: var(--a1, rgba(139, 108, 255, .35)); animation: auroraMove 32s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { left: 0%; top: 0%; animation-duration: 26s; }
.aurora i:nth-child(2) { right: -6%; top: 10%; background: var(--a2, rgba(69, 212, 255, .28)); animation-duration: 32s; animation-delay: -8s; }
.aurora i:nth-child(3) { left: 30%; bottom: -10%; background: var(--a3, rgba(92, 242, 192, .2)); animation-duration: 38s; animation-delay: -14s; }
@keyframes auroraMove { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6%, 8%, 0) scale(1.12); } 100% { transform: translate3d(-5%, -4%, 0) scale(.94); } }
.grid-floor { position: absolute; left: -25%; right: -25%; bottom: -10%; height: 60%; perspective: 1100px; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000 30%, transparent 75%); }
.grid-floor::before { content: ""; position: absolute; inset: 0; transform: rotateX(58deg); transform-origin: 50% 100%; background-image: linear-gradient(var(--grid-c, rgba(255, 255, 255, .09)) 1px, transparent 1px), linear-gradient(90deg, var(--grid-c, rgba(255, 255, 255, .09)) 1px, transparent 1px); background-size: 56px 56px; animation: gridFlow 16s linear infinite; }
@keyframes gridFlow { to { background-position: 0 56px; } }

/* 화면 예시 표시 (가짜 데이터 화면) */
.demo-tag { display: inline-flex; align-items: center; gap: 6px; font: 600 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 5px 8px; border: 1px dashed var(--line-2); border-radius: 4px; }

/* 성능: 화면 밖 애니메이션 정지 */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

/* 동작 줄이기 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .rv-wait { opacity: 1; transform: none; }
  .fx-canvas { display: none; }
}

/* ===== 헤더 '그룹 서비스' 드롭다운 (2026-10-18) ===== */
.world-studio { --hdr-dark: #2b0f15; } .world-marketing { --hdr-dark: #111317; } .world-vip { --hdr-dark: #0a0a0b; } .world-partners { --hdr-dark: #12201a; } .world-night { --hdr-dark: #12070a; }
/* 바탕이 어두운 페이지의 밝은 섹션 위 헤더 — 어두운 글자가 어두운 바탕에 얹히지 않게 아이보리로 */
.world-chain, .world-trade, .world-studio, .world-marketing, .world-vip, .world-night { --hdr-light: #f6f2ea; }
html:not(.menu-open) .hdr.is-solid:not(.on-dark) { --hbg: color-mix(in srgb, var(--hdr-light, var(--page-bg)) 86%, transparent); }
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd__btn { cursor: pointer; }
.nav-dd__chev { width: 11px; height: 11px; margin-left: -2px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.nav-dd.is-open .nav-dd__chev { transform: rotate(180deg); }
.nav-dd.is-current .nav-dd__btn { opacity: 1; }
.nav-dd.is-current .nav-dd__btn::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: currentColor; }
.nav-dot--multi { --c: var(--c-studio); background: conic-gradient(var(--c-studio) 0 25%, var(--c-mkt) 0 50%, var(--c-vip) 0 75%, var(--c-partners) 0); }
.nav-dd__panel { position: absolute; top: calc(100% + 14px); left: 50%; z-index: 80; width: min(640px, calc(100vw - 40px)); padding: 18px 18px 16px; border-radius: 14px; color: var(--cream); background: linear-gradient(160deg, rgba(43, 15, 21, .97), rgba(18, 7, 10, .98)); border: 1px solid rgba(243, 230, 210, .12); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .05); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transform: translateX(-50%); transform-origin: 50% 0; }
.nav-dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd.is-open .nav-dd__panel { animation: ddIn .26s var(--ease-out); }
@keyframes ddIn { from { opacity: 0; transform: translateX(-50%) translateY(-8px) scale(.985); } to { opacity: 1; transform: translateX(-50%); } }
.nav-dd__k { font-size: 10.5px; letter-spacing: .26em; color: var(--gold); padding: 2px 6px 12px; }
.nav-dd__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nav-dd__item { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px; padding: 14px 16px 14px 14px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .05); transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.nav-dd__item::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); box-shadow: 0 0 14px var(--c); opacity: .85; }
.nav-dd__item::after { content: ""; position: absolute; inset: 0; background: radial-gradient(220px circle at 0% 0%, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%); opacity: 0; transition: opacity .25s var(--ease); pointer-events: none; }
.nav-dd__item:hover, .nav-dd__item:focus-visible, .nav-dd__item[aria-current="page"] { background: rgba(255, 255, 255, .06); border-color: color-mix(in srgb, var(--c) 45%, transparent); transform: translateY(-1px); }
.nav-dd__item:hover::after, .nav-dd__item:focus-visible::after, .nav-dd__item[aria-current="page"]::after { opacity: 1; }
.nav-dd__no { grid-row: 1 / span 2; align-self: start; padding-top: 2px; font-size: 11px; color: var(--c); }
.nav-dd__t { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.nav-dd__t b { font-size: 15.5px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.nav-dd__t small { font-size: 9.5px; letter-spacing: .16em; color: color-mix(in srgb, var(--c) 70%, #f3e6d2); }
.nav-dd__d { grid-column: 2; font-size: 12.5px; line-height: 1.5; color: var(--cream-2); }
.nav-dd__all { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 13px 16px; border-radius: 10px; border: 1px solid rgba(240, 212, 138, .28); background: linear-gradient(110deg, rgba(240, 212, 138, .1), rgba(240, 212, 138, .02)); transition: background .2s var(--ease), border-color .2s var(--ease); }
.nav-dd__all:hover, .nav-dd__all:focus-visible { border-color: rgba(240, 212, 138, .6); background: linear-gradient(110deg, rgba(240, 212, 138, .18), rgba(240, 212, 138, .04)); }
.nav-dd__all b { font-size: 15px; color: var(--gold); }
.nav-dd__all small { font-size: 12.5px; color: var(--cream-2); }
.nav-dd__all .ico { width: 16px; height: 16px; margin-left: auto; color: var(--gold); transition: transform .2s var(--ease); }
.nav-dd__all:hover .ico { transform: translateX(3px); }
.nav-dd__all-dots { display: inline-flex; gap: 3px; }
.nav-dd__all-dots i { width: 6px; height: 6px; border-radius: 50%; }
@media (max-width: 1280px) { .hdr__nav .nav-link { padding: 0 10px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .nav-dd.is-open .nav-dd__panel { animation: none; } }

/* 모바일 메뉴 — 그룹 서비스 */
.mnav__svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mnav__svc a { position: relative; display: grid; gap: 4px; padding: 14px 14px 14px 18px; border-radius: 4px; background: color-mix(in srgb, var(--c) 12%, #1e0a0f); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.mnav__svc a i { position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; background: var(--c); border-radius: 0 3px 3px 0; }
.mnav__svc b { font-size: 15.5px; font-weight: 700; letter-spacing: -.02em; }
.mnav__svc small { font-size: 11.5px; line-height: 1.45; color: var(--cream-2); }
.mnav__all { display: block; padding: 14px 16px; border-radius: 4px; border: 1px solid rgba(240, 212, 138, .35); color: var(--gold); font-weight: 700; font-size: 15px; background: rgba(240, 212, 138, .06); }
