@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --navy: #14213D;
  --green: #2FA36B;
  --mint: #7FD9AC;
  --midnight: #111224;
  --midnight-2: #171a30;
  --paper: #F3F0E8;
  --ink: #101828;
  --ink-soft: #2A3142;
  --gray: #6B7280;
  --line: #D5DAE4;
  --line-dark: rgba(255, 255, 255, .12);
  --teal: #4DAAA1;
  --sky: #4A8ABC;
  --font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.dark { background: var(--midnight); color: #fff; }
.paper { background: var(--paper); }
section { padding: clamp(72px, 11vw, 144px) 0; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green); display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.dark .eyebrow { color: var(--mint); }
h2 {
  font-size: clamp(28px, 4.4vw, 52px); font-weight: 700; line-height: 1.22; letter-spacing: -.025em;
  margin-top: 18px; color: var(--navy);
}
.dark h2 { color: #fff; }
h2 em, h1 em { font-style: normal; color: var(--green); }
.lead { margin-top: 18px; font-size: clamp(15px, 1.5vw, 18px); color: var(--gray); max-width: 36em; }
.dark .lead { color: rgba(255, 255, 255, .64); }
.note { font-size: 12.5px; color: var(--gray); line-height: 1.55; }
.dark .note { color: rgba(255, 255, 255, .45); }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #2b9365; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-line { border-color: var(--line); color: var(--navy); background: #fff; }
.btn .arr { font-size: 17px; transform: translateY(-1px); }

/* 내비 */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
  display: flex; align-items: center; color: #fff;
  transition: background .3s, color .3s, box-shadow .3s;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav.solid { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.logo svg { height: 26px; width: 132px; }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 3.4vw, 48px); }
.nav-links a { font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.nav-links a:not(.btn):hover { color: var(--green); }
.nav .btn { height: 42px; padding: 0 20px; font-size: 14px; letter-spacing: 0; }
.nav-login { opacity: .75; }

/* 히어로 */
.hero {
  position: relative; min-height: max(100svh, 680px); overflow: hidden;
  background:
    radial-gradient(60% 55% at 78% 78%, rgba(74, 138, 188, .30), transparent 70%),
    radial-gradient(40% 40% at 70% 62%, rgba(47, 163, 107, .20), transparent 70%),
    linear-gradient(180deg, #0c0d1b 0%, var(--midnight) 55%, #0d1326 100%);
  color: #fff; padding: 0; display: flex;
}
.hero .wrap { position: relative; z-index: 2; padding-top: clamp(128px, 20vh, 210px); padding-bottom: 300px; }
.hero h1 {
  font-size: clamp(44px, 8.2vw, 112px); font-weight: 700; line-height: 1.08; letter-spacing: -.04em; margin-top: 26px;
}
.hero .lead { font-size: clamp(16px, 1.55vw, 19px); max-width: 30em; margin-top: 26px; color: rgba(255, 255, 255, .72); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.terrain { position: absolute; z-index: 1; bottom: 0; left: 0; width: 100%; min-width: 900px; pointer-events: none; }
.ball { animation: land 1.5s cubic-bezier(.3, 1.3, .5, 1) .3s both; transform-box: fill-box; }
@keyframes land { from { transform: translate(-150px, -250px); opacity: 0; } 60% { opacity: 1; } to { transform: none; } }
.contours use { animation: drift 9s ease-in-out infinite alternate; }
.contours use:nth-child(2n) { animation-duration: 12s; animation-direction: alternate-reverse; }
@keyframes drift { from { transform: translateX(-14px); } to { transform: translateX(14px); } }
.scroll-hint {
  position: absolute; z-index: 2; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: 30px; font-size: 13px; letter-spacing: .08em;
  color: rgba(255, 255, 255, .7); display: flex; gap: 8px; align-items: center;
}
.scroll-hint i { font-style: normal; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* 선언문 + 숫자 */
.statement .say {
  font-size: clamp(22px, 3.3vw, 40px); font-weight: 600; line-height: 1.5; letter-spacing: -.02em;
  color: var(--navy); max-width: 22em;
}
.statement .say span { color: #a9b1c0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; }
.stat b { display: block; font-size: clamp(30px, 4vw, 52px); font-weight: 700; letter-spacing: -.03em; color: var(--navy); line-height: 1.1; }
.stat b small { font-size: .5em; font-weight: 600; margin-left: 2px; }
.stat span { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.stat .note { margin-top: 4px; }

/* 고민 */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.voice { background: #fff; border-radius: 20px; padding: 32px 28px; }
.voice h3 { font-size: 13px; letter-spacing: .14em; color: var(--green); font-weight: 700; }
.voice p { margin-top: 16px; font-size: 19px; font-weight: 600; line-height: 1.5; color: var(--navy); letter-spacing: -.01em; }
.voice small { display: block; margin-top: 18px; font-size: 14px; color: var(--gray); }

/* 서비스 */
.svc-main {
  margin-top: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px);
  background: var(--midnight); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden;
}
.svc-main::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 163, 107, .35), transparent 65%);
}
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--mint); }
.tag.opt { color: var(--gray); }
.svc-main h3 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; margin-top: 14px; }
.svc-main p { margin-top: 16px; color: rgba(255, 255, 255, .68); max-width: 27em; }
.svc-main .btn { margin-top: 30px; }
.incl { position: relative; z-index: 1; }
.incl li { display: grid; grid-template-columns: 34px 1fr; padding: 17px 0; border-top: 1px solid var(--line-dark); }
.incl li:last-child { border-bottom: 1px solid var(--line-dark); }
.incl i { font-style: normal; font-size: 12px; color: var(--mint); font-weight: 600; padding-top: 4px; }
.incl b { font-weight: 600; font-size: 17px; }
.incl span { display: block; font-size: 14px; color: rgba(255, 255, 255, .55); margin-top: 2px; }

.svc-sub { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 20px; }
.card { border: 1px solid var(--line); border-radius: 24px; padding: clamp(26px, 3.4vw, 40px); background: #fff; }
.card h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: var(--navy); letter-spacing: -.02em; margin-top: 12px; }
.card > p { margin-top: 10px; color: var(--gray); font-size: 15.5px; }
.goals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.goal { background: #f5f7fa; border-radius: 14px; padding: 16px 18px; }
.goal b { display: block; font-size: 16px; color: var(--navy); }
.goal span { font-size: 13.5px; color: var(--gray); }
.card .note { margin-top: 18px; }
.plain li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-soft); }
.plain { margin-top: 22px; }

/* AI와 사람 */
.split { margin-top: 56px; border-top: 1px solid var(--line-dark); }
.split .row { display: grid; grid-template-columns: 140px 1fr 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
.split .head { font-size: 12px; letter-spacing: .16em; font-weight: 700; color: rgba(255, 255, 255, .5); padding: 14px 0; }
.split .head span:nth-child(2) { color: var(--mint); }
.split .row > :first-child { font-weight: 700; }
.split .row > :nth-child(2) { color: rgba(255, 255, 255, .62); }
.split .row > :nth-child(3) { color: #fff; }

/* 절차 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 64px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line); }
.step { padding-right: 20px; position: relative; }
.step::before { content: ""; display: block; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); position: relative; }
.step:last-child::before { background: var(--green); border-color: var(--green); }
.step i { display: block; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--gray); margin-top: 22px; }
.step b { display: block; font-size: 20px; color: var(--navy); margin-top: 6px; letter-spacing: -.01em; }
.step p { font-size: 14.5px; color: var(--gray); margin-top: 8px; }

/* 보고 */
.report { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.report figure img { border-radius: 18px; box-shadow: 0 30px 80px rgba(17, 18, 36, .22); }
.report figcaption { margin-top: 12px; }
.report .plain li b { color: var(--navy); margin-right: 8px; }

/* 작업 */
.work-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; margin-top: 56px; align-items: start; }
.media { border-radius: 20px; overflow: hidden; background: #000; position: relative; }
.media video { width: 100%; height: 100%; object-fit: cover; }
.media.wide { aspect-ratio: 16 / 9; }
.media.tall { aspect-ratio: 9 / 16; }
.cap { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.cap b { font-weight: 600; }
.cap span { color: rgba(255, 255, 255, .5); }
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.case { border: 1px solid var(--line-dark); border-radius: 24px; padding: clamp(24px, 3vw, 36px); }
.case h3 { font-size: 20px; font-weight: 700; margin-top: 10px; }
.case dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; margin-top: 26px; }
.case dt { font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.case dd { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.case dd small { font-size: 14px; color: var(--mint); font-weight: 600; margin-left: 6px; letter-spacing: 0; }
.case .note { margin-top: 24px; }
.clients { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: baseline; }
.clients span { font-size: 12px; letter-spacing: .16em; color: rgba(255, 255, 255, .45); font-weight: 700; }
.clients b { font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, .85); }

/* 비용 */
.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.price .card b.amt { display: block; margin-top: 22px; font-size: 22px; color: var(--navy); }
.price .card.main { border-color: var(--navy); border-width: 1.5px; }

/* 마지막 CTA */
.final { position: relative; overflow: hidden; text-align: center; }
.final::before {
  content: ""; position: absolute; left: 50%; bottom: -340px; width: 900px; height: 600px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(47, 163, 107, .32), rgba(74, 138, 188, .14) 60%, transparent);
}
.final .wrap { position: relative; }
.final .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--green); margin: 0 auto 28px; box-shadow: 0 0 40px rgba(47, 163, 107, .8); }
.final h2 { margin-top: 0; font-size: clamp(32px, 5.4vw, 68px); }
.final .lead { margin-left: auto; margin-right: auto; }
.final .hero-cta { justify-content: center; }

footer { background: #0b0c18; color: rgba(255, 255, 255, .55); padding: 56px 0 110px; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer .logo { color: #fff; margin-bottom: 14px; }
footer .tagline { font-size: 11px; letter-spacing: .24em; }
footer p + p { margin-top: 4px; }
footer a:hover { color: #fff; }
.todo { color: #e8b86a; }

/* 모바일 하단 고정 CTA */
.sticky { display: none; }

/* 등장 */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.rv.in { opacity: 1; transform: none; }

/* ───── 신청·로그인 화면 ───── */
.page { padding-top: 72px; min-height: 100svh; }
.apply { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); padding-top: clamp(40px, 7vw, 88px); padding-bottom: 120px; align-items: start; }
.apply h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.2; letter-spacing: -.03em; color: var(--navy); margin-top: 18px; }
.next { margin-top: 44px; }
.next li { display: grid; grid-template-columns: 34px 1fr; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-soft); }
.next i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--green); padding-top: 3px; }
.alt { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn-kakao { background: #FEE500; color: #191600; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px); }
.field { margin-bottom: 22px; }
.field label, .field legend { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.field label em, .field legend em { font-style: normal; color: var(--green); margin-left: 3px; }
.field input:not([type=checkbox]), .field select, .field textarea {
  width: 100%; height: 52px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 16px; background: #fff; font-size: 16px; outline: none;
}
.field textarea { height: 120px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-flex; height: 42px; align-items: center; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--gray); margin: 6px 0 22px; }
.agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.form .btn { width: 100%; }
.done { text-align: center; padding: 48px 0; display: none; }
.done .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--green); margin: 0 auto 22px; }
.done h2 { font-size: 28px; margin: 0; }
.done p { color: var(--gray); margin-top: 12px; }
.form.sent form { display: none; }
.form.sent .done { display: block; }

.login-page { min-height: 100svh; display: grid; place-items: center; padding: 40px 20px; position: relative; overflow: hidden; }
.login-page::before {
  content: ""; position: absolute; left: 50%; bottom: -380px; width: 1000px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(47, 163, 107, .28), rgba(74, 138, 188, .14) 60%, transparent);
}
.login { position: relative; width: 100%; max-width: 400px; text-align: center; }
.login .logo { display: inline-block; color: #fff; }
.login .logo svg { height: 34px; width: 176px; }
.login h1 { font-size: 26px; letter-spacing: -.02em; margin-top: 40px; }
.login > p { color: rgba(255, 255, 255, .6); margin-top: 10px; font-size: 15px; }
.login .btns { margin-top: 36px; display: grid; gap: 12px; }
.login .btn { width: 100%; height: 56px; border-radius: 14px; }
.btn-google { background: #fff; color: #1f1f1f; }
.login .note { margin-top: 26px; }
.login .back { display: inline-block; margin-top: 34px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.login .back:hover { color: #fff; }

/* ───── 반응형 ───── */
@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  .hero .wrap { padding-bottom: 300px; }
  .terrain { left: auto; right: -130px; }
  .stats { grid-template-columns: repeat(2, 1fr); border-top: 0; }
  .stat { border-top: 1px solid var(--line); padding-bottom: 28px; }
  .voices, .svc-main, .svc-sub, .report, .cases, .price, .apply { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid > :last-child { max-width: 300px; }
  .split .row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .split .head { display: none; }
  .split .row > :nth-child(2)::before { content: "AI  "; color: var(--mint); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
  .split .row > :nth-child(3)::before { content: "사람  "; color: rgba(255, 255, 255, .5); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 44px; }
  .steps::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .step { padding: 0 0 30px 34px; }
  .step::before { position: absolute; left: 0; top: 3px; }
  .step i { margin-top: 0; }
  .sticky {
    display: flex; gap: 8px; position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateY(140%); transition: transform .35s;
  }
  .sticky.show { transform: none; }
  .sticky .btn { flex: 1; box-shadow: 0 10px 30px rgba(17, 18, 36, .3); }
  .sticky .btn-kakao { flex: 0 0 auto; }
}
@media (max-width: 520px) {
  .goals, .two, .case dl { grid-template-columns: 1fr; }
  .case dl { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { flex: 1; }
  .stat { padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
