/* typeon 소개·요금 페이지 공통 스타일 (밝은 기업 소개형) */
/* 소개 페이지: 기업 소개형 구성 — 흰 바탕, 가운데 정렬 큰 제목, 큰 사진, 넓은 여백, 검은 맺음 칸 */
@font-face { font-family: 'Pretendard Variable'; src: url('/fonts/PretendardVariable.woff2') format('woff2-variations'); font-weight: 45 920; font-display: swap; }
:root { --ink: #333; --ink-strong: #111; --ink-2: #555; --ink-3: #8a8f96; --line: #e6e8eb; --soft: #f5f6f8; --blue: #2f7fd6; --wrap: 1296px; --pad: clamp(20px, 5vw, 72px); --gap: clamp(120px, 17vw, 250px); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.6 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', system-ui, sans-serif; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--wrap), 100% - var(--pad) * 2); margin: 0 auto; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 30; padding: 8px 14px; background: #000; color: #fff; border-radius: 50px; }

/* 머리줄 */
.top { position: fixed; inset: 0 0 auto; z-index: 20; height: 80px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); transition: box-shadow .2s; }
.top.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.top__in { position: relative; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.top__logo img { height: 26px; width: auto; }
.top__nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: clamp(20px, 4vw, 60px); font-size: 16px; font-weight: 600; color: var(--ink-strong); }
.top__nav a { padding: 8px 2px; border-bottom: 2px solid transparent; transition: border-color .15s; } .top__nav a:hover { border-color: var(--ink-strong); }
.top__act { display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 600; color: var(--ink-strong); }

/* 알약 버튼 (레퍼런스: 검은 채움 / 검은 테두리 + 화살표) */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 50px; padding: 0 26px; border-radius: 50px; border: 1px solid #000; font-size: 16px; font-weight: 600; color: var(--ink-strong); transition: background .18s, color .18s; white-space: nowrap; }
.pill:hover { background: #000; color: #fff; }
.pill--fill { background: #000; color: #fff; } .pill--fill:hover { background: #2b2b2b; }
.pill--sm { height: 40px; padding: 0 20px; font-size: 15px; }
.pill--white { background: #fff; border-color: #fff; color: #000; } .pill--white:hover { background: #e9e9e9; color: #000; }
.pill svg { flex: none; transition: transform .18s; } .pill:hover svg { transform: translateX(4px); }

/* 구역 공통: 가운데 정렬 큰 제목 */
.sec { padding-top: var(--gap); }
.head { text-align: center; }
.head h2 { font-size: clamp(27px, 3.3vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }
.head p { margin-top: 18px; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); }
.more { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 70px); }

/* 첫 화면 */
.hero { padding: clamp(150px, 15vw, 190px) 0 clamp(72px, 10vw, 140px); text-align: center; }
.hero h1 { font-size: clamp(30px, 3.5vw, 46px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }
.hero h1 .caret { display: inline-block; width: 2px; height: .95em; margin-left: 10px; background: var(--ink); vertical-align: -0.1em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__sub { margin-top: 28px; font-size: clamp(17px, 1.7vw, 22.6px); font-weight: 500; line-height: 1.55; }
.hero__note { margin-top: 22px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.media { overflow: hidden; border-radius: clamp(18px, 2vw, 28px); background: #0b0d12; aspect-ratio: 1296 / 700; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* 제공하는 것: 큰 카드 두 장 */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 70px); }
.duo__card { display: flex; flex-direction: column; align-items: center; padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 64px) clamp(40px, 5vw, 64px); border-radius: clamp(18px, 2vw, 28px); background: linear-gradient(160deg, #eef5fc 0%, #f6f8fb 55%, #eaf2fb 100%); text-align: center; }
.duo__card:nth-child(2) { background: linear-gradient(200deg, #e9f3fb 0%, #f6f8fb 50%, #eef3fa 100%); }
.tiles { position: relative; width: min(340px, 100%); height: 220px; margin-bottom: 40px; }
.tile { position: absolute; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(42, 96, 160, 0.16); color: var(--blue); animation: float 6s ease-in-out infinite; }
.tile--dark { background: #16202c; color: #fff; }
.tile--blue { background: linear-gradient(145deg, #5aa9ef, #2f7fd6); color: #fff; }
.tile:nth-child(1) { left: 6%; top: 34%; }
.tile:nth-child(2) { left: 39%; top: 2%; width: 96px; height: 96px; animation-delay: -1.5s; }
.tile:nth-child(3) { right: 4%; top: 40%; animation-delay: -3s; }
.tile:nth-child(4) { left: 36%; bottom: 0; animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-9px); } }
.duo__card h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; letter-spacing: -0.02em; color: #000; }
.duo__card p { margin-top: 16px; max-width: 26em; font-size: 16.5px; color: var(--ink-2); }
.duo__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }

/* 이유: 네 칸 (카드 없이 아이콘·작은 영문·제목·설명) */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 7vw, 100px); text-align: center; }
.why svg { color: var(--blue); }
.why__en { margin-top: 22px; font-size: 14.5px; color: var(--ink-3); }
.why h3 { margin-top: 8px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: #222; }
.why p { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* 쓰는 자리: 사진 카드 줄 (옆으로 넘김) */
.rail { display: flex; gap: 20px; margin-top: clamp(40px, 5vw, 70px); padding: 0 max(var(--pad), (100% - var(--wrap)) / 2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail li { position: relative; flex: 0 0 clamp(260px, 30vw, 410px); aspect-ratio: 1 / 1; overflow: hidden; border-radius: clamp(16px, 1.6vw, 24px); background: #111; scroll-snap-align: center; }
.rail img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rail li:hover img { transform: scale(1.03); }
.rail li::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 45%); }
.rail b { position: absolute; left: 30px; top: 28px; z-index: 1; font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; color: #fff; }
.rail span { position: absolute; left: 30px; right: 30px; bottom: 26px; z-index: 1; font-size: 15px; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }

/* 사용 순서: 옅은 회색 카드 */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 70px); }
.steps li { padding: 40px 36px 44px; border-radius: 20px; background: var(--soft); }
.steps small { display: block; font-size: 15px; font-weight: 600; color: var(--blue); }
.steps h3 { margin-top: 14px; font-size: 23px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.4; color: var(--ink-strong); }
.steps p { margin-top: 16px; font-size: 16px; color: var(--ink-2); }

/* 요금 */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 70px); }
.pack { padding: 44px 40px; border-radius: 20px; border: 1px solid var(--line); text-align: center; }
.pack--pick { border-color: #000; box-shadow: inset 0 0 0 1px #000; }
.pack h3 { font-size: 18px; font-weight: 600; color: var(--ink-2); }
.pack__price { margin-top: 12px; font-size: clamp(32px, 3.2vw, 44px); font-weight: 600; letter-spacing: -0.03em; color: #000; font-variant-numeric: tabular-nums; }
.pack__price small { margin-left: 3px; font-size: .46em; font-weight: 500; letter-spacing: 0; }
.pack p { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); }

/* 질문 */
.faq { width: min(880px, 100%); margin: clamp(40px, 5vw, 70px) auto 0; border-top: 1px solid #000; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; font-size: 19px; font-weight: 600; color: var(--ink-strong); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-size: 26px; font-weight: 300; line-height: 1; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 4px 28px; font-size: 16.5px; color: var(--ink-2); }

/* 맺음 칸: 검정 + 번지는 빛 + 거친 입자 */
.contact { position: relative; margin-top: var(--gap); padding: clamp(120px, 17vw, 240px) 0 clamp(130px, 19vw, 275px); overflow: hidden; background: #000; color: #fff; text-align: center; }
.contact::before { content: ''; position: absolute; inset: 0; background: radial-gradient(46% 62% at 14% 34%, rgba(58, 164, 214, 0.85), transparent 70%), radial-gradient(42% 60% at 86% 4%, rgba(104, 62, 190, 0.7), transparent 70%), radial-gradient(60% 50% at 50% 110%, rgba(47, 127, 214, 0.25), transparent 70%); }
.contact::after { content: ''; position: absolute; inset: 0; opacity: .34; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.contact > * { position: relative; z-index: 1; }
.contact small { display: block; margin-bottom: 18px; font-size: 16px; color: rgba(255, 255, 255, 0.75); }
.contact h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }
.contact .pill { margin-top: 40px; }
footer { background: #000; color: #8d9299; font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.foot img { height: 22px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 26px; } .foot a:hover { color: #fff; }
.credit { padding: 0 0 34px; font-size: 12px; line-height: 1.7; color: #666b72; } .credit a { text-decoration: underline; text-underline-offset: 2px; }

/* ───── 움직임: 등장 · 스크롤 연동 ───── */
.js .rv { opacity: 0; transform: translate3d(0, 70px, 0); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js .rv.in { opacity: 1; transform: none; }
/* 제목은 줄 단위로 아래에서 올라옴 */
.js .ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.js .ln > span { display: block; transform: translate3d(0, 110%, 0); transition: transform 1.05s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
.js .in .ln > span, .js .ln.in > span { transform: none; }
/* 첫 화면 큰 사진: 스크롤에 맞춰 넓어지고, 안의 사진은 천천히 따라옴 */
.media { transform: scale(var(--s, 1)); transform-origin: 50% 0; will-change: transform; }
.media img { transform: scale(1.16) translate3d(0, var(--y, 0px), 0); will-change: transform; }
/* 사진 카드 줄: 끌어서 넘기기 + 진행 막대 */
.rail { cursor: grab; } .rail.is-drag { cursor: grabbing; scroll-snap-type: none; } .rail.is-drag * { pointer-events: none; }
.rail img { -webkit-user-drag: none; user-select: none; }
.bar { width: min(260px, 60%); height: 3px; margin: 34px auto 0; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 30%; border-radius: 3px; background: linear-gradient(90deg, #6fb7ee, #2f7fd6); transform: translateX(var(--x, 0%)); }
/* 카드·버튼 디테일 */
.duo__card, .steps li, .pack { transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s, opacity .9s cubic-bezier(.16, 1, .3, 1); }
.duo__card.in:hover, .steps li.in:hover, .pack.in:hover { transform: translate3d(0, -8px, 0); }
.duo__card.in:hover { box-shadow: 0 30px 60px rgba(42, 96, 160, 0.14); }
.pack.in:hover { box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08); }
.why > div svg { transition: transform .9s cubic-bezier(.34, 1.56, .64, 1) calc(var(--d, 0s) + .15s); transform: scale(.2) rotate(-40deg); }
.why > div.in svg { transform: none; }
.faq p { animation: faqin .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes faqin { from { opacity: 0; transform: translateY(-8px); } }
/* 머리줄: 내릴 때 숨고 올릴 때 나타남 */
.top { transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .2s; }
.top.is-hidden { transform: translateY(-100%); }
/* 맺음 칸의 빛이 천천히 움직임 */
.contact::before { animation: glow 14s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate3d(4%, -6%, 0) scale(1.12); } }
/* 제목 타이핑 */
.hero h1 { position: relative; }
/* 글자가 찍히는 동안 아래 내용이 밀리지 않게, 다 찍힌 크기만큼 자리를 미리 잡아 둠 */
.hero h1 .ghost { visibility: hidden; padding-right: 12px; }
.hero h1 .live { position: absolute; inset: 0; }
.hero__sub, .hero__note { transition-duration: 1s, 1.2s; }

@media (max-width: 1100px) {
  .top__nav { display: none; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { height: 60px; } .top__logo img { height: 22px; } .top__login { display: none; }
  .pill { height: 46px; padding: 0 22px; font-size: 15px; }
  .pill--sm { height: 34px; padding: 0 14px; font-size: 13px; }
  .hero { padding-top: 116px; }
  .hero__sub br, .hero__note br, .head h2 br { display: none; }
  .media { aspect-ratio: 4 / 3; }
  .duo, .packs, .steps { grid-template-columns: 1fr; }
  .tiles { height: 190px; margin-bottom: 28px; transform: scale(.88); }
  .why { grid-template-columns: 1fr; gap: 48px; }
  .steps li { padding: 30px 26px 32px; }
  .pack { padding: 32px 24px; }
  .faq summary { padding: 20px 2px; font-size: 17px; }
  .rail b { left: 22px; top: 20px; } .rail span { left: 22px; right: 22px; bottom: 20px; }
}
