/* =========================================================
   WEUS KOREA — 2026 홈페이지
   색: 잉크(남색 검정) + 도화지(따뜻한 흰색) + 블루·바이올렛·스카이 그라데이션
   ========================================================= */
:root {
  --ink: #06071a;
  --ink-2: #0d0f2e;
  --ink-3: #15183f;
  --paper: #f3f1ea;
  --paper-2: #e8e5da;
  --text-d: #0b0c1f;
  --muted-d: #5d6078;
  --muted-l: rgba(255, 255, 255, .62);
  --line-l: rgba(255, 255, 255, .12);
  --line-d: rgba(11, 12, 31, .14);
  --sky: #2cb7f2;
  --blue: #3366ff;
  --violet: #7b5cff;
  --grad: linear-gradient(100deg, var(--sky) 0%, var(--blue) 48%, var(--violet) 100%);
  --grad-light: linear-gradient(100deg, #7fdcff 0%, #8fb0ff 50%, #b9a6ff 100%);
  --green: #12a96b;
  --green-d: #0e8253;
  --green-l: #e7f7f0;
  --yellow: #ffd76a;
  --r: 28px;
  --gut: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-2: cubic-bezier(.65, 0, .35, 1);
  --f-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; border-radius: 6px; }

.mono { font-family: var(--f-mono); letter-spacing: 0; font-weight: 400; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.muted { color: var(--muted-d); }
[data-theme="dark"] .muted { color: var(--muted-l); }
.wrap { width: min(1440px, 100%); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 999; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* 종이 질감 */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

/* ---------- 공통 글자 ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-l); margin-bottom: 28px; }
.paper .eyebrow { color: var(--muted-d); }
.eyebrow span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; font-size: 11px; }
.h2 { font-size: clamp(38px, 5.4vw, 92px); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; }
.kserif { font-family: "Nanum Myeongjo", "AppleMyungjo", serif; font-style: normal; font-weight: 800; letter-spacing: -.07em; }
.h2 .kserif { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .08em 0 .02em; }
[data-theme="dark"] .h2 .kserif { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; }
.h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -.03em; font-weight: 700; }
.lead { font-size: clamp(18px, 1.55vw, 23px); line-height: 1.7; letter-spacing: -.02em; }
.lead strong { font-weight: 700; }
[data-theme="dark"] .lead { color: rgba(255, 255, 255, .82); }
[data-theme="dark"] .lead strong { color: #fff; }

.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 10.5px; font-weight: 700; background: #eef0f6; color: #555a75; }
.chip--green { background: var(--green-l); color: var(--green-d); }
.chip--blue { background: #e7eeff; color: var(--blue); }
.chip--line { background: transparent; border: 1px dashed #b9bdd0; }

/* ---------- 버튼 ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; height: 60px; padding: 0 30px; border-radius: 99px; font-weight: 700; font-size: 16px; letter-spacing: -.01em; border: 0; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); will-change: transform; }
.btn i { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.btn:hover i { transform: translateX(5px); }
.btn--grad { color: #fff; background: var(--grad); background-size: 200% 100%; box-shadow: 0 10px 40px -10px rgba(51, 102, 255, .7); animation: gradShift 6s ease-in-out infinite; }
.btn--grad::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .45) 50%, transparent 80%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--grad:hover::after { transform: translateX(120%); }
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn--ghost { color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--pill { height: 44px; padding: 0 20px; font-size: 14px; background: #fff; color: var(--ink); }

/* ---------- 로딩 ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: none; place-content: center; justify-items: center; gap: 28px; color: #fff; }
html.js .loader { display: grid; }
html.js.loaded .loader { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-2) .1s; }
html.js.loader-done .loader { display: none; }
.loader__mark { width: min(340px, 60vw); overflow: visible; }
.loader__mark .b { stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 1.1s var(--ease) forwards; }
.loader__mark .b { stroke: #fff; }
.loader__mark .b:nth-child(1) { animation-delay: .05s; } .loader__mark .b:nth-child(2) { animation-delay: .12s; } .loader__mark .b:nth-child(3) { animation-delay: .19s; }
.loader__mark .b:nth-child(4) { animation-delay: .28s; } .loader__mark .b:nth-child(5) { animation-delay: .35s; } .loader__mark .b:nth-child(6) { animation-delay: .42s; }
.loader__mark .b:nth-child(7) { animation-delay: .52s; } .loader__mark .b:nth-child(8) { animation-delay: .62s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader__tag { font-size: 14px; color: var(--muted-l); letter-spacing: .02em; opacity: 0; animation: fadeIn .6s .5s forwards; }
.loader__count { position: absolute; right: var(--gut); bottom: 32px; font-size: clamp(48px, 8vw, 120px); line-height: 1; letter-spacing: -.04em; }
.loader__count span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- 커서 ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate3d(-100px, -100px, 0); }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(255, 255, 255, .6); mix-blend-mode: difference; display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s var(--ease), border-color .45s; }
.cursor__label { font: 600 11px/1 var(--f-mono); color: #000; opacity: 0; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: #fff; border-color: #fff; }
.cursor.has-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: #fff; }
.cursor.has-label .cursor__label { opacity: 1; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }

/* 읽은 정도 막대 */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- 머리글 ---------- */
.header { position: fixed; z-index: 110; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; padding: 18px var(--gut); color: #fff; transition: transform .6s var(--ease), background .4s, color .4s, padding .4s; }
.header.is-scrolled { background: rgba(6, 7, 26, .55); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); padding-top: 12px; padding-bottom: 12px; }
.header.on-light { color: var(--text-d); }
.header.on-light.is-scrolled { background: rgba(243, 241, 234, .72); }
.header.is-hidden { transform: translateY(-110%); }
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.logo__mark { width: 92px; height: auto; overflow: visible; }
.logo__ko { font-size: 8px; letter-spacing: .62em; padding-left: .62em; font-weight: 600; opacity: .85; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; }
.nav a { position: relative; display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 14px; font-size: 15px; font-weight: 600; border-radius: 99px; transition: background .3s; }
.nav a .mono { font-size: 10px; opacity: .55; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header.on-light .btn--pill { background: var(--ink); color: #fff; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; background: transparent; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 19px; } .burger span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 105; background: var(--ink); color: #fff; padding: 120px var(--gut) 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0% at calc(100% - 48px) 44px); transition: clip-path .8s var(--ease-2); }
.menu.is-open { clip-path: circle(150% at calc(100% - 48px) 44px); }
.menu ol li { overflow: hidden; border-bottom: 1px solid var(--line-l); }
.menu ol a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; font-size: clamp(34px, 9vw, 60px); font-weight: 800; letter-spacing: -.04em; transform: translateY(100%); transition: transform .8s var(--ease); }
.menu ol a .mono { font-size: 12px; opacity: .5; }
.menu.is-open ol a { transform: none; }
.menu.is-open ol li:nth-child(2) a { transition-delay: .05s; } .menu.is-open ol li:nth-child(3) a { transition-delay: .1s; } .menu.is-open ol li:nth-child(4) a { transition-delay: .15s; } .menu.is-open ol li:nth-child(5) a { transition-delay: .2s; } .menu.is-open ol li:nth-child(6) a { transition-delay: .25s; }
.menu__foot { font-size: 13px; color: var(--muted-l); }

/* 구역 점 */
.dots { position: fixed; right: 22px; top: 50%; z-index: 100; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; mix-blend-mode: difference; }
.dots a { position: relative; display: block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #fff; transition: transform .4s var(--ease), background .4s; }
.dots a.is-active { background: #fff; transform: scale(1.25); }
.dots a span { position: absolute; right: 24px; top: 50%; transform: translate(8px, -50%); white-space: nowrap; font-size: 12px; font-weight: 600; color: #fff; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.dots a:hover span, .dots a:focus-visible span { opacity: 1; transform: translate(0, -50%); }

/* ---------- 첫 화면 ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: 120px var(--gut) 36px; overflow: hidden; isolation: isolate; }
.hero__gl, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__fallback { z-index: -2; background: radial-gradient(60% 70% at 70% 30%, rgba(51, 102, 255, .55), transparent 60%), radial-gradient(50% 60% at 20% 70%, rgba(123, 92, 255, .45), transparent 60%), radial-gradient(40% 40% at 85% 80%, rgba(44, 183, 242, .35), transparent 60%), var(--ink); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { filter: hue-rotate(-25deg); transform: scale(1.08); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(6, 7, 26, .35) 0%, transparent 25%, transparent 55%, rgba(6, 7, 26, .7) 100%); }
.hero__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 20px; font-size: 12px; line-height: 1.5; text-transform: uppercase; color: rgba(255, 255, 255, .7); padding-top: 24px; border-top: 1px solid var(--line-l); }
.hero__meta b { font-weight: 500; color: #fff; }
.hero__title { align-self: end; font-size: clamp(44px, 7.6vw, 150px); line-height: 1; letter-spacing: -.055em; font-weight: 800; margin: 6vh 0 4vh; }
.hero__pre { display: block; font-size: clamp(17px, 1.6vw, 24px); letter-spacing: -.02em; font-weight: 600; color: rgba(255, 255, 255, .75); margin-bottom: 1.6vw; }
.line { display: block; overflow: hidden; padding: .02em 0 .1em; margin-bottom: -.06em; }
.line > span { display: inline-block; }
html.js .line > span { transform: translate3d(0, 110%, 0) rotate(4deg); transform-origin: 0 100%; }
html.js.loaded .line > span { transform: none; transition: transform 1.4s var(--ease) calc(.25s + var(--i, 0) * .11s); }
.hl { position: relative; display: inline-block; background: linear-gradient(100deg, #7fdcff, #9fb6ff 35%, #c4b2ff 65%, #7fdcff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 6s ease-in-out infinite; padding-right: .04em; }
.hl__stroke { position: absolute; left: -2%; right: -2%; bottom: -.08em; width: 104%; height: .22em; overflow: visible; fill: none; }
.hl__stroke path { fill: none; stroke: var(--sky); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; }
html.loaded .hl__stroke path { animation: draw 1.4s var(--ease) 1.2s forwards; }
html:not(.js) .hl__stroke path { stroke-dashoffset: 0; }
.dot { font-style: normal; color: var(--sky); }
.hero__bottom { display: grid; grid-template-columns: minmax(0, 1.2fr) auto auto; align-items: end; gap: 32px; padding-top: 28px; border-top: 1px solid var(--line-l); }
.hero__lead { font-size: clamp(16px, 1.25vw, 19px); color: rgba(255, 255, 255, .78); max-width: 54ch; }
.hero__lead strong { color: #fff; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hero__scroll-line { position: relative; width: 1px; height: 52px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: #fff; animation: scrollLine 2s var(--ease-2) infinite; }
@keyframes scrollLine { to { top: 100%; } }
html.js .hero__meta, html.js .hero__bottom { opacity: 0; transform: translateY(20px); }
html.js.loaded .hero__meta, html.js.loaded .hero__bottom { opacity: 1; transform: none; transition: opacity 1.2s var(--ease) .9s, transform 1.2s var(--ease) .9s; }

/* ---------- 흐르는 띠 ---------- */
.marquee { position: relative; overflow: hidden; padding: clamp(18px, 2.4vw, 36px) 0; background: var(--ink); border-top: 1px solid var(--line-l); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); padding-right: clamp(20px, 2.6vw, 44px); font-size: clamp(34px, 5.6vw, 92px); line-height: 1; white-space: nowrap; }
.marquee__group span { font-weight: 800; letter-spacing: -.05em; }
.marquee__group em { font-family: var(--f-serif); font-style: italic; font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.marquee__group i { font-style: normal; font-size: .4em; color: var(--sky); }

/* ---------- 도화지 구역 (밝은 바탕) ---------- */
.paper { background: var(--paper); color: var(--text-d); position: relative; }
.about, .consulting, .platform, .faq, .services, .app, .principles, .contact { position: relative; z-index: 2; border-radius: clamp(28px, 4vw, 64px) clamp(28px, 4vw, 64px) 0 0; margin-top: calc(-1 * clamp(28px, 4vw, 64px)); }
.about { padding: clamp(100px, 12vw, 180px) 0 clamp(100px, 12vw, 180px); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.about .answer { margin-bottom: 40px; }
.about .answer strong { background: linear-gradient(transparent 62%, rgba(44, 183, 242, .28) 62%); }
.facts { border-top: 1.5px solid var(--text-d); }
.facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-d); font-size: 15.5px; }
.facts dt { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; color: var(--muted-d); padding-top: 3px; letter-spacing: .02em; }
.facts dd a { border-bottom: 1px solid var(--line-d); transition: border-color .3s, color .3s; }
.facts dd a:hover { color: var(--blue); border-color: var(--blue); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: clamp(80px, 9vw, 140px) 0; }
.about .eyebrow + .stats { margin-top: clamp(8px, 2vw, 24px); }
.stats li { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 260px; padding: 28px; border-radius: var(--r); background: #fff; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.stats li::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); filter: blur(40px); opacity: 0; transition: opacity .6s; }
.stats li:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(11, 12, 31, .35); }
.stats li:hover::before { opacity: .35; }
.stat__num { position: relative; font-size: clamp(72px, 8vw, 132px); line-height: .9; font-weight: 800; letter-spacing: -.06em; background: linear-gradient(160deg, var(--text-d) 30%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__num small { font-size: .32em; letter-spacing: -.02em; margin-left: .1em; }
.stats li > span { position: relative; font-weight: 700; font-size: 18px; line-height: 1.4; }
.stats li > span small { font-weight: 500; font-size: 13.5px; color: var(--muted-d); }

.statement { font-size: clamp(30px, 4.4vw, 76px); line-height: 1.18; letter-spacing: -.045em; font-weight: 800; max-width: 22ch; }
.statement .w { opacity: .14; transition: opacity .25s linear; }
.statement .w.is-on { opacity: 1; }

/* ---------- 사업 영역 ---------- */
.services { background: var(--ink); padding: clamp(110px, 12vw, 190px) 0 clamp(110px, 12vw, 190px); overflow: hidden; }
.services::before { content: ""; position: absolute; width: 70vw; aspect-ratio: 1; left: 50%; top: -20vw; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(51, 102, 255, .28), transparent); pointer-events: none; }
.sec-head { position: relative; margin-bottom: clamp(56px, 6vw, 96px); }
.sec-head__lead { max-width: 52ch; margin-top: 28px; font-size: clamp(17px, 1.4vw, 21px); color: rgba(255, 255, 255, .78); }
.sec-head__lead strong { color: #fff; }
.sec-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: end; }
.cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1400px; }
.card { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; min-height: 560px; padding: 32px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--line-l); overflow: hidden; transform-style: preserve-3d; transition: transform .6s var(--ease), border-color .5s; will-change: transform; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(44, 183, 242, .9), rgba(123, 92, 255, .5) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; pointer-events: none; }
.card__glow { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(51, 102, 255, .22), transparent 60%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.card:hover::before, .card:hover .card__glow { opacity: 1; }
.card__num { font-size: 12px; text-transform: uppercase; color: var(--muted-l); letter-spacing: .06em; }
.card__icon { width: 76px; height: 76px; margin: 56px 0 auto; color: #fff; transform: translateZ(40px); transition: transform .8s var(--ease); }
.card:hover .card__icon { transform: translateZ(60px) rotate(-6deg) scale(1.08); }
.card__icon path, .card__icon rect { stroke-dasharray: 220; stroke-dashoffset: 0; }
.card.is-in .card__icon path, .card.is-in .card__icon rect { animation: drawIn 1.8s var(--ease) both; }
@keyframes drawIn { from { stroke-dashoffset: 220; } to { stroke-dashoffset: 0; } }
.card__title { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.25; letter-spacing: -.04em; font-weight: 800; margin: 56px 0 16px; transform: translateZ(30px); }
.card__text { color: rgba(255, 255, 255, .72); font-size: 16px; transform: translateZ(20px); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 28px; }
.tags li { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-l); color: rgba(255, 255, 255, .8); }
.card__link { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--line-l); font-weight: 700; }
.card__link i { font-style: normal; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .5s var(--ease), background .5s; }
.card:hover .card__link i { transform: rotate(-45deg); background: var(--sky); color: #fff; }
.card--app .card__num { color: #6fe0b0; }
.card--platform .card__num { color: #9db6ff; }

/* ---------- 컨설팅 ---------- */
.consulting { padding: clamp(110px, 12vw, 190px) 0 0; }
.consulting .answer strong { background: linear-gradient(transparent 62%, rgba(123, 92, 255, .25) 62%); }
.quote { position: relative; margin: clamp(80px, 9vw, 150px) 0 clamp(60px, 7vw, 120px); padding: clamp(40px, 5vw, 80px); border-radius: clamp(28px, 3vw, 44px); background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.quote::before { content: "“"; position: absolute; right: 4%; top: -10%; font-family: var(--f-serif); font-size: clamp(240px, 30vw, 480px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .55; z-index: -1; }
.quote::after { content: ""; position: absolute; inset: auto auto -40% -10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(51, 102, 255, .45), transparent); z-index: -1; }
.quote p { font-size: clamp(26px, 3.4vw, 56px); line-height: 1.25; letter-spacing: -.045em; font-weight: 800; max-width: 22ch; }
.hl-ink { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote figcaption { margin-top: 32px; max-width: 56ch; color: rgba(255, 255, 255, .72); font-size: clamp(16px, 1.3vw, 19px); }

.process { position: relative; padding-bottom: clamp(110px, 12vw, 190px); }
.process__pin { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vh, 48px); overflow: hidden; }
.process__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; width: min(1440px, 100%); }
.process__head .muted { font-size: 13px; font-weight: 400; }
.process__bar { flex: 0 0 min(36vw, 420px); height: 3px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.process__bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.process__track { --edge: max(var(--gut), calc((100vw - 1440px) / 2 + var(--gut))); display: flex; gap: 20px; padding: 0 var(--edge); width: max-content; will-change: transform; }
.step { position: relative; flex: 0 0 clamp(290px, 30vw, 440px); min-height: clamp(380px, 56vh, 520px); padding: 32px; border-radius: var(--r); background: #fff; display: flex; flex-direction: column; overflow: hidden; transition: background .6s var(--ease), color .6s var(--ease), transform .6s var(--ease); }
.step::after { content: ""; position: absolute; right: -30%; bottom: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); filter: blur(50px); opacity: 0; transition: opacity .6s; }
.step:hover { transform: translateY(-10px); }
.step.is-current { background: var(--ink); color: #fff; }
.step.is-current::after { opacity: .5; }
.step.is-current p { color: rgba(255, 255, 255, .75); }
.step__n { position: relative; z-index: 1; font-size: clamp(90px, 9vw, 150px); line-height: .85; font-weight: 800; letter-spacing: -.07em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: auto; }
.step h4 { position: relative; z-index: 1; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.3; letter-spacing: -.04em; font-weight: 800; margin: 40px 0 14px; }
.step p { position: relative; z-index: 1; color: var(--muted-d); font-size: 15.5px; }
.step--end { background: transparent; border: 1.5px dashed rgba(11, 12, 31, .25); justify-content: center; gap: 28px; }
.step--end:hover { transform: none; }
.step__note { font-size: clamp(20px, 1.8vw, 26px) !important; line-height: 1.45; color: var(--text-d) !important; letter-spacing: -.03em; }
.step--end .btn { align-self: flex-start; }

/* ---------- 병원수첩 ---------- */
.app { overflow-x: clip; background: radial-gradient(70% 50% at 85% 10%, rgba(18, 169, 107, .22), transparent 60%), radial-gradient(60% 50% at 0% 80%, rgba(51, 102, 255, .2), transparent 60%), var(--ink); padding: clamp(110px, 12vw, 190px) 0 clamp(80px, 9vw, 140px); }
.app__intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: end; margin-bottom: clamp(60px, 7vw, 120px); }
.app__logo { width: clamp(150px, 14vw, 220px); height: auto; margin-bottom: 28px; }
.app .eyebrow span { border-color: #6fe0b0; color: #6fe0b0; }
.app .answer strong { color: #fff; background: linear-gradient(transparent 62%, rgba(18, 169, 107, .45) 62%); }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px 0 18px; border-radius: 16px; background: #fff; color: #000; transition: transform .5s var(--ease), box-shadow .5s; }
.store:hover { box-shadow: 0 16px 40px -14px rgba(18, 169, 107, .8); }
.store svg { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 18px; line-height: 1.05; letter-spacing: -.02em; }
.store small { font-size: 10.5px; font-weight: 500; letter-spacing: 0; }
.app__icon { width: 60px; height: 60px; border-radius: 16px; margin-left: 6px; box-shadow: 0 10px 30px -10px rgba(18, 169, 107, .8); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-4deg); } }

.showcase { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(32px, 6vw, 110px); align-items: start; }
.features { counter-reset: f; }
.feature { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0 20px 28px; border-left: 2px solid var(--line-l); opacity: .3; transition: opacity .6s var(--ease), border-color .6s; }
.feature.is-active { opacity: 1; border-color: #6fe0b0; }
.feature__n { font-size: 13px; color: #6fe0b0; margin-bottom: 16px; }
.feature h3 { font-size: clamp(30px, 3.4vw, 56px); line-height: 1.1; letter-spacing: -.045em; font-weight: 800; margin-bottom: 20px; }
.feature p { font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, .75); max-width: 40ch; }

.phone-wrap { position: sticky; top: calc(50vh - 365px); height: 730px; display: grid; place-items: center; }
.phone-glow { position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, rgba(18, 169, 107, .5), rgba(51, 102, 255, .45), rgba(123, 92, 255, .45), rgba(255, 215, 106, .35), rgba(18, 169, 107, .5)); filter: blur(70px); opacity: .55; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone { position: relative; width: 300px; height: 683px; border-radius: 50px; padding: 11px; background: linear-gradient(145deg, #2a2c3a, #0b0c14); box-shadow: 0 0 0 1.5px #3d4052 inset, 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06); transform: rotate(-3deg); transition: transform 1s var(--ease); }
.phone-wrap:hover .phone { transform: rotate(0) scale(1.02); }
.phone__notch { position: absolute; left: 50%; top: 20px; width: 92px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 5; }
.phone__screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: #fff; color: #1f2421; }
.sb { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 0; font-weight: 700; font-size: 12px; height: 44px; background: #fff; }
.sb__icons { display: flex; gap: 4px; }
.sb__icons i { width: 14px; height: 9px; border-radius: 2px; background: #1f2421; opacity: .85; }
.sb__icons i:nth-child(1) { width: 12px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.scr { position: absolute; left: 0; top: 44px; width: 100%; height: calc(100% - 44px); object-fit: cover; object-position: top center; opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.scr.is-active { opacity: 1; transform: none; }
.phone__cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.map__card i { display: block; height: 6px; border-radius: 3px; background: #e3e5ec; }
.map__card i.s { width: 60%; }
.float { position: absolute; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-weight: 700; font-size: 13px; animation: bob 5s ease-in-out infinite; }
.float--1 { left: -6%; top: 22%; }
.float--2 { right: -4%; bottom: 20%; animation-delay: -2s; color: #6fe0b0; }

/* 병원 관리자센터 */
.admin { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); grid-template-areas: "head shot" "tabs shot"; column-gap: clamp(32px, 4.5vw, 80px); margin-top: clamp(110px, 11vw, 180px); }
.admin__head { grid-area: head; align-self: end; }
.admin__head .eyebrow { margin-bottom: 18px; }
.admin__title { font-size: clamp(32px, 3.4vw, 54px); line-height: 1.12; letter-spacing: -.045em; font-weight: 800; margin: 0 0 18px; }
.admin__title .kserif { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .08em 0 .02em; }
.admin__lead { color: rgba(255, 255, 255, .72); font-size: clamp(16px, 1.25vw, 18px); max-width: 34ch; margin: 0 0 28px; }
.admin__tabs { grid-area: tabs; align-self: start; display: grid; gap: 8px; }
.admin__tab { position: relative; display: grid; gap: 0; width: 100%; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); color: rgba(255, 255, 255, .72); font: inherit; cursor: pointer; overflow: hidden; transition: background .4s, border-color .4s; }
.admin__tab b { font-size: 17px; letter-spacing: -.03em; color: #fff; opacity: .6; transition: opacity .3s; }
.admin__tab span { display: block; font-size: 14.5px; line-height: 1.6; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .6s var(--ease); }
.admin__tab:hover b { opacity: 1; }
.admin__tab.is-active { background: rgba(255, 255, 255, .07); border-color: rgba(111, 224, 176, .45); }
.admin__tab.is-active b { opacity: 1; }
.admin__tab.is-active span { max-height: 140px; opacity: 1; margin-top: 6px; }
.admin__tab:focus-visible { outline: 2px solid #6fe0b0; outline-offset: 2px; }
.admin__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: linear-gradient(90deg, #6fe0b0, var(--sky)); transform-origin: left; transform: scaleX(0); }
.admin.is-playing .admin__tab.is-active .admin__bar { animation: admBar 5.2s linear both; }
@keyframes admBar { to { transform: scaleX(1); } }
.admin__shot { grid-area: shot; align-self: center; margin: 0; }
.browser { border-radius: 18px; overflow: hidden; background: #161827; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .85); transform: perspective(1800px) rotateY(-7deg) rotateX(2deg); transition: transform 1.1s var(--ease); }
.admin:hover .browser { transform: none; }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #1d2031; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin: 0 auto; padding: 4px 18px; border-radius: 8px; background: rgba(255, 255, 255, .06); font-size: 12px; color: rgba(255, 255, 255, .55); transform: translateX(-24px); }
.browser__view { position: relative; aspect-ratio: 1440 / 940; background: #f6f7f9; overflow: hidden; }
.adm { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.025); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.adm.is-active { opacity: 1; transform: none; }
.admin__shot figcaption { margin-top: 14px; text-align: right; font-size: 12.5px; color: rgba(255, 255, 255, .5); }

/* ---------- 플랫폼 ---------- */
.platform { padding: clamp(110px, 12vw, 190px) 0 clamp(140px, 14vw, 220px); }
.platform__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.platform .answer { margin-top: 32px; }
.platform .answer strong { background: linear-gradient(transparent 62%, rgba(51, 102, 255, .22) 62%); }
.platform__note { margin-top: 40px; padding-left: 20px; border-left: 3px solid; border-image: var(--grad) 1; font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; letter-spacing: -.02em; }
.map { position: relative; aspect-ratio: 6 / 4.6; border-radius: clamp(28px, 3vw, 44px); overflow: hidden; background-color: #e7ecf6; background-image: radial-gradient(#b9c4dc 1.2px, transparent 1.3px); background-size: 18px 18px; box-shadow: 0 40px 80px -40px rgba(11, 12, 31, .45); }
.map__roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__roads path { fill: none; stroke: #fff; stroke-width: 14; stroke-linecap: round; }
.map__roads path.thin { stroke-width: 7; stroke: #ffe8a8; }
.map__search { position: absolute; left: 5%; right: 5%; top: 6%; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 16px; background: #fff; border: 2px solid var(--blue); font-size: 14px; color: #8a8fa3; box-shadow: 0 10px 24px -14px rgba(51, 102, 255, .7); }
.map__glass { width: 14px; height: 14px; border: 2.5px solid var(--blue); border-radius: 50%; position: relative; }
.map__glass::after { content: ""; position: absolute; right: -6px; bottom: -5px; width: 7px; height: 2.5px; background: var(--blue); transform: rotate(45deg); }
.pin { position: absolute; left: var(--x); top: var(--y); z-index: 1; width: 34px; height: 34px; margin: -42px 0 0 -17px; display: grid; place-items: center; color: #fff; font: 700 13px/1 var(--f-mono); animation: pinDrop .9s var(--ease) both; animation-delay: var(--d); }
.pin::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--blue); box-shadow: 0 8px 16px -6px rgba(51, 102, 255, .9); }
.pin::before { content: ""; position: absolute; left: 50%; top: calc(100% + 8px); width: 34px; height: 14px; margin: -7px 0 0 -17px; border-radius: 50%; border: 2px solid var(--blue); animation: ping 2.4s var(--d) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes pinDrop { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
.pin--me { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
.pin--me::after { border-radius: 50%; transform: none; background: var(--violet); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(123, 92, 255, .25); }
.pin--me::before { top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-color: var(--violet); }
html.js .map:not(.is-in) .pin { animation: none; opacity: 0; }
.map__card { position: absolute; z-index: 2; right: 5%; bottom: 7%; width: 46%; padding: 16px; border-radius: 18px; background: #fff; display: grid; gap: 8px; box-shadow: 0 20px 40px -20px rgba(11, 12, 31, .45); animation: bob 6s ease-in-out infinite; }
.map__card b { font-size: 15px; letter-spacing: -.03em; }
.map__card .chip { justify-self: start; }

/* ---------- 일하는 방식 (쌓이는 카드) ---------- */
.principles { background: var(--ink); padding: clamp(110px, 12vw, 190px) 0 clamp(80px, 8vw, 140px); }
.stack { position: relative; display: grid; gap: 4vh; padding-bottom: 6vh; }
.stack__card { position: sticky; top: calc(14vh + var(--i, 0) * 28px); min-height: 62vh; padding: clamp(32px, 4vw, 64px); border-radius: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; color: #fff; overflow: hidden; transform-origin: 50% 0; will-change: transform; box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .8); }
.stack__card:nth-child(1) { --i: 0; background: linear-gradient(135deg, #1b1f6b 0%, #3366ff 100%); }
.stack__card:nth-child(2) { --i: 1; background: linear-gradient(135deg, #3a1e8a 0%, #7b5cff 100%); }
.stack__card:nth-child(3) { --i: 2; background: linear-gradient(135deg, #0a5a7c 0%, #2cb7f2 100%); }
.stack__card::after { content: ""; position: absolute; right: -10%; top: -30%; width: 50%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 0 0 60px rgba(255, 255, 255, .04), 0 0 0 140px rgba(255, 255, 255, .03); }
.stack__n { font-size: 14px; opacity: .8; }
.stack__card h3 { font-size: clamp(44px, 7.2vw, 128px); line-height: 1; letter-spacing: -.06em; font-weight: 800; }
.stack__card h3 span { display: block; font-size: .42em; letter-spacing: -.04em; font-weight: 600; opacity: .8; margin-bottom: .2em; }
.stack__card p { max-width: 44ch; font-size: clamp(16px, 1.35vw, 20px); color: rgba(255, 255, 255, .86); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(110px, 12vw, 190px) 0 clamp(140px, 14vw, 220px); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.faq__side { position: sticky; top: 120px; }
.faq__side .muted { margin-top: 28px; font-size: 15px; }
.faq__side a { border-bottom: 1px solid currentColor; }
.faq__list { border-top: 1.5px solid var(--text-d); }
.qa { border-bottom: 1px solid var(--line-d); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.4; letter-spacing: -.035em; font-weight: 700; transition: color .3s, transform .5s var(--ease); }
.qa summary:hover h3 { color: var(--blue); transform: translateX(6px); }
.qa__icon { position: relative; flex: 0 0 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-d); transition: background .4s, border-color .4s, transform .6s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(180deg); }
.qa[open] .qa__icon::after { transform: rotate(0); }
.qa__a { overflow: hidden; }
.qa__a p, .qa__a ol { padding: 0 60px 28px 0; color: #3b3e55; font-size: 16.5px; }
.qa__a p + ol { padding-top: 0; margin-top: -16px; }
.qa__a ol { list-style: decimal; padding-left: 22px; }
.qa__a ol li { padding: 2px 0; }

/* ---------- 문의 ---------- */
.contact { background: var(--ink); padding: clamp(110px, 12vw, 190px) 0 clamp(110px, 12vw, 170px); overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 15% 20%, rgba(51, 102, 255, .35), transparent 60%), radial-gradient(40% 50% at 90% 85%, rgba(123, 92, 255, .35), transparent 60%); animation: drift 12s ease-in-out infinite alternate; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.contact__title { font-size: clamp(60px, 9vw, 168px); line-height: .95; letter-spacing: -.065em; font-weight: 800; margin-bottom: 56px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--f-serif); font-style: italic; font-weight: 400; padding-right: .1em; }
.contact__info { font-style: normal; display: grid; border-top: 1px solid var(--line-l); }
.contact__info a { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-l); font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; transition: color .3s, padding .5s var(--ease); }
.contact__info a:hover { color: var(--sky); padding-left: 10px; }
.contact__info .mono { font-size: 11px; color: var(--muted-l); padding-top: 5px; }

.form { display: grid; gap: 14px; padding: clamp(24px, 3vw, 44px); border-radius: clamp(28px, 3vw, 40px); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-l); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.form__types { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.form__types legend { font: 500 12px/1 var(--f-mono); text-transform: uppercase; color: var(--muted-l); margin-bottom: 14px; letter-spacing: .06em; }
.form__types input { position: absolute; opacity: 0; pointer-events: none; }
.form__types span { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.form__types label:hover span { border-color: #fff; }
.form__types input:checked + span { background: #fff; color: var(--ink); border-color: #fff; transform: scale(1.04); }
.form__types input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; padding: 26px 18px 10px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(6, 7, 26, .45); font-size: 16px; outline: none; transition: border-color .3s, background .3s, box-shadow .3s; resize: vertical; }
.field textarea { min-height: 150px; }
.field label { position: absolute; left: 19px; top: 19px; font-size: 15px; color: var(--muted-l); pointer-events: none; transition: transform .35s var(--ease), font-size .35s var(--ease), color .35s; transform-origin: 0 0; }
.field input:focus, .field textarea:focus { border-color: var(--sky); background: rgba(6, 7, 26, .7); box-shadow: 0 0 0 4px rgba(44, 183, 242, .15); }
.field input:focus + label, .field textarea:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px); font-size: 11.5px; color: var(--sky); }
.field.is-error input, .field.is-error textarea { border-color: #ff6b81; }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .72); margin: 4px 0 6px; cursor: pointer; }
.agree input { appearance: none; -webkit-appearance: none; flex: 0 0 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .4); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.agree input:checked { background: var(--blue); border-color: var(--blue); }
.agree input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.agree.is-error input { border-color: #ff6b81; }
.agree a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.btn--submit { justify-self: start; height: 64px; padding: 0 34px; font-size: 17px; }
.btn--submit.is-loading { pointer-events: none; opacity: .8; }
.btn--submit.is-loading i { animation: spin .8s linear infinite; }
.form__msg { min-height: 1.6em; font-size: 14.5px; font-weight: 600; }
.form__msg.ok { color: #6fe0b0; }
.form__msg.err { color: #ff8fa0; }
.form__msg a { border-bottom: 1px solid currentColor; }

/* ---------- 바닥글 ---------- */
.footer { --fx: 50%; --fy: 50%; position: relative; z-index: 4; background: var(--ink); padding: clamp(40px, 5vw, 80px) 0 32px; border-top: 1px solid var(--line-l); overflow: hidden; }
.footer__word { position: relative; width: calc(100% - 2 * var(--gut)); margin: 0 auto clamp(40px, 5vw, 80px); }
.fw { width: 100%; height: auto; overflow: visible; }
.fw--base { color: #15183f; }
.fw--lit { position: absolute; inset: 0; -webkit-mask-image: radial-gradient(circle at var(--fx) var(--fy), #000 0, rgba(0, 0, 0, .9) 8%, transparent 26%); mask-image: radial-gradient(circle at var(--fx) var(--fy), #000 0, rgba(0, 0, 0, .9) 8%, transparent 26%); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px 60px; align-items: start; font-size: 14px; color: rgba(255, 255, 255, .7); }
.footer__co { font-style: normal; line-height: 1.85; }
.footer__co b { color: #fff; }
.footer__co a { color: #fff; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; justify-self: end; }
.footer__links a { position: relative; color: #fff; font-weight: 600; }
.footer__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.footer__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__copy { font-size: 11.5px; color: var(--muted-l); padding-top: 24px; border-top: 1px solid var(--line-l); }
.footer__copy span { margin-left: 16px; }
.footer__top { justify-self: end; font-size: 12px; padding-top: 24px; border-top: 1px solid var(--line-l); width: 100%; text-align: right; text-transform: uppercase; }

/* ---------- 나타나기 ---------- */
html.js [data-reveal] { opacity: 0; transform: translate3d(0, 48px, 0); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js .card[data-reveal].is-in { transition: opacity 1.1s var(--ease) var(--d, 0s), transform .6s var(--ease); }

/* ---------- 반응형 ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .burger { margin-left: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card--platform { grid-column: span 2; min-height: 420px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .dots { display: none; }
  .hero { padding-top: 100px; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .hero__meta span:nth-child(2) { display: none; }
  .hero__bottom { grid-template-columns: 1fr; gap: 24px; }
  .hero__scroll { display: none; }
  .about__grid, .sec-head--split, .app__intro, .platform__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .card--platform { grid-column: auto; }
  .card { min-height: 0; }
  .card__icon { margin-top: 36px; }
  .card__title { margin-top: 32px; }
  .process__pin { position: relative; min-height: 0; padding-top: 20px; }
  .process__head { flex-direction: column; align-items: flex-start; }
  .process__bar { display: none; }
  .process__track { flex-direction: column; width: auto; transform: none !important; }
  .step { flex: none; min-height: 0; }
  .step h4 { margin-top: 24px; }
  .step__n { font-size: 80px; }
  .showcase { grid-template-columns: 1fr; }
  .phone-wrap { position: relative; top: auto; height: 545px; grid-template-rows: 100%; order: -1; margin-bottom: 12px; }
  .admin { grid-template-columns: 1fr; grid-template-areas: "head" "shot" "tabs"; row-gap: 24px; margin-top: 90px; }
  .admin__lead { margin-bottom: 0; }
  .browser { transform: none; }
  .admin__shot figcaption { text-align: left; }
  .phone { transform: scale(.72) rotate(-2deg); }
  .phone-wrap:hover .phone { transform: scale(.72); }
  .float { display: none; }
  .feature { min-height: 0; padding: 22px 0 22px 20px; opacity: .55; cursor: pointer; }
  .feature h3 { font-size: 26px; margin-bottom: 10px; }
  .faq__side { position: static; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__links { justify-self: start; }
  .footer__top { justify-self: start; text-align: left; }
}
@media (max-width: 600px) {
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .hero__title { font-size: clamp(38px, 11vw, 60px); }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; height: 54px; padding: 0 20px; }
  .stats { grid-template-columns: 1fr; gap: 10px; }
  .stats li { min-height: 0; gap: 18px; padding: 22px; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .field-row { grid-template-columns: 1fr; }
  .qa__a p, .qa__a ol { padding-right: 0; }
  .contact__title { font-size: 64px; }
  .stack__card { min-height: 54vh; }
}

/* 움직임 줄이기 설정 존중 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  body::after { animation: none; }
}

/* ---------- 최근 컬럼 (홈) ---------- */
.latest { position: relative; z-index: 2; background: var(--paper-2); color: var(--text-d); padding: clamp(100px, 11vw, 170px) 0 clamp(120px, 13vw, 200px); border-radius: clamp(28px, 4vw, 64px) clamp(28px, 4vw, 64px) 0 0; margin-top: calc(-1 * clamp(28px, 4vw, 64px)); }
.latest .eyebrow { color: var(--muted-d); }
.latest__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); }
.latest__all { flex: none; }
.latest__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.lcard { display: grid; grid-template-rows: auto auto auto 1fr; gap: 12px; height: 100%; padding: 14px 14px 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line-d); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.lcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11, 12, 31, .35); }
.lcard__img { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--ink); }
.lcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lcard:hover .lcard__img img { transform: scale(1.05); }
.lcard__img i { display: block; width: 100%; height: 100%; background: radial-gradient(60% 80% at 75% 30%, rgba(51, 102, 255, .7), transparent 60%), radial-gradient(50% 70% at 20% 80%, rgba(123, 92, 255, .6), transparent 60%), var(--ink); }
.lcard__meta { padding: 6px 8px 0; font-size: 11.5px; color: var(--muted-d); text-transform: uppercase; letter-spacing: .02em; }
.lcard__title { padding: 0 8px; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.35; letter-spacing: -.035em; }
.lcard__sum { padding: 0 8px; font-size: 15px; color: #3b3e55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.menu.is-open ol li:nth-child(7) a { transition-delay: .3s; }
@media (max-width: 900px) {
  .latest__head { flex-direction: column; align-items: start; }
  .latest__list { grid-template-columns: 1fr; }
}
