@font-face { font-family: "Gothic A1"; src: url("/assets/fonts/ga1-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Gothic A1"; src: url("/assets/fonts/ga1-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Pretendard"; src: url("/assets/fonts/pret-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pretendard"; src: url("/assets/fonts/pret-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #f3f6f3;
  --mint: #dcece3;
  --card: #ffffff;
  --green: #0f4c3a;
  --green-2: #09352a;
  --green-l: #2f8f6b;
  --lime: #b6e3a7;
  --stamp: #d6402c;
  --text: #101915;
  --mute: #5d6a64;
  --on-dark: #d7e4dd;
  --on-dark-m: #93aaa0;
  --line: rgba(16, 25, 21, .12);
  --line-d: rgba(255, 255, 255, .14);
  --head: "Gothic A1", "Pretendard", sans-serif;
  --sans: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 44px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 16.5px; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--green-l); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--green); color: #fff; }
.skip:focus { top: 12px; }

.kick { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 40px; background: var(--mint); color: var(--green); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.kick::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-l); }
.dark .kick, .kick.l { background: rgba(182, 227, 167, .14); color: var(--lime); }
.dark .kick::before, .kick.l::before { background: var(--lime); }
.h2 { margin-top: 16px; font-family: var(--head); font-weight: 900; font-size: clamp(30px, 4vw, 52px); line-height: 1.22; letter-spacing: -.045em; color: var(--text); }
.h2 mark { background: none; color: var(--green-l); }
.dark .h2 { color: #fff; }
.dark .h2 mark { color: var(--lime); }
.lead { margin-top: 18px; max-width: 620px; color: var(--mute); font-size: clamp(16px, 1.3vw, 18px); }
.dark .lead { color: var(--on-dark-m); }
.sec { padding: clamp(84px, 10vw, 140px) 0; }
.sec-head { margin-bottom: clamp(40px, 5vw, 60px); }
.sec-head.c { text-align: center; }
.sec-head.c .lead { margin-left: auto; margin-right: auto; }
.sec-head.row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.dark { background: var(--green-2); color: var(--on-dark); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 600; font-size: 16px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 14px 30px -14px rgba(15, 76, 58, .7); }
.btn-green:hover { background: var(--green-2); }
.btn-lime { background: var(--lime); color: var(--green-2); }
.btn-lime:hover { background: #c9edbd; }
.btn-line { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-line:hover { border-color: #fff; }
.btn-out { border-color: var(--line); background: #fff; color: var(--text); }
.btn-out:hover { border-color: var(--green); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--green); }
.more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.more:hover svg { transform: translateX(4px); }
.dark .more { color: var(--lime); }

/* 헤더 */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.hd-in { display: flex; align-items: center; gap: 22px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo-mk { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--green); display: grid; place-items: center; }
.logo-mk svg { width: 20px; height: 20px; }
.logo b { font-family: var(--head); font-weight: 900; font-size: 19px; letter-spacing: -.04em; color: var(--text); }
.logo small { display: block; font-size: 11.5px; font-weight: 600; color: var(--mute); letter-spacing: .02em; line-height: 1.1; }
.logo span { line-height: 1.2; }
.gnb { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.gnb a { padding: 10px 14px; border-radius: 10px; font-size: 15.5px; font-weight: 600; color: var(--text); transition: background .2s; }
.gnb a:hover { background: var(--mint); }
.gnb a[aria-current] { color: var(--green); background: var(--mint); }
.hd-cta { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; }
.hd-cta svg { width: 16px; height: 16px; }
.hd.solid { background: rgba(243, 246, 243, .92); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.menu-btn i:nth-child(1) { top: 15px; } .menu-btn i:nth-child(2) { top: 21px; } .menu-btn i:nth-child(3) { top: 27px; }
.mnav { position: fixed; inset: 0; z-index: 49; padding: 92px var(--gut) 40px; background: var(--paper); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.mnav.open { opacity: 1; visibility: visible; }
.mnav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--head); font-weight: 800; font-size: 21px; letter-spacing: -.04em; }
.mnav .btn { margin-top: 24px; width: 100%; font-family: var(--sans); font-size: 16px; border-bottom: 0; }
body.menu-open { overflow: hidden; }
body.menu-open .hd { background: var(--paper); }
body.menu-open .menu-btn i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-btn i:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 히어로 — 왼쪽 글 · 오른쪽 사진 세 장이 세로로 닦이며 바뀜 + 진단표 카드 */
.hero { position: relative; padding: 120px 0 clamp(56px, 7vw, 90px); background: linear-gradient(180deg, #e9f2ec 0%, var(--paper) 70%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-top: 20px; font-family: var(--head); font-weight: 900; font-size: clamp(36px, 5.2vw, 70px); line-height: 1.16; letter-spacing: -.055em; }
.hero h1 .ln { display: block; white-space: nowrap; }
.hero h1 mark { background: linear-gradient(transparent 62%, var(--lime) 62%); color: inherit; padding: 0 2px; }
.hero-sub { margin-top: 22px; max-width: 520px; color: var(--mute); font-size: clamp(16px, 1.3vw, 18px); }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { margin-top: 18px; display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: 14px; }
.hero-note svg { width: 18px; height: 18px; color: var(--green-l); flex: none; }
.stage { position: relative; aspect-ratio: 5 / 5.3; }
.frames { position: absolute; z-index: 0; inset: 0 0 0 8%; border-radius: 26px; overflow: hidden; box-shadow: 0 50px 80px -50px rgba(9, 53, 42, .7); background: var(--green); }
.frame { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); animation: wipe 18s var(--ease) infinite; }
.frame img { width: 100%; height: 100%; object-fit: cover; animation: drift 18s linear infinite; }
.frame:nth-child(1), .frame:nth-child(1) img { animation-delay: -1.2s; }
.frame:nth-child(2), .frame:nth-child(2) img { animation-delay: 4.8s; }
.frame:nth-child(3), .frame:nth-child(3) img { animation-delay: 10.8s; }
@keyframes wipe { 0% { clip-path: inset(100% 0 0 0); z-index: 3; } 6% { clip-path: inset(0 0 0 0); z-index: 3; } 33% { clip-path: inset(0 0 0 0); z-index: 2; } 40% { clip-path: inset(0 0 0 0); z-index: 1; } 41%, 100% { clip-path: inset(100% 0 0 0); z-index: 0; } }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1); } }
.frame figcaption { position: absolute; right: 16px; top: 16px; padding: 6px 12px; border-radius: 30px; background: rgba(9, 53, 42, .7); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(4px); }
.diag { position: absolute; z-index: 5; left: 0; bottom: 8%; width: min(300px, 64%); padding: 20px 20px 18px; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -24px rgba(9, 53, 42, .45); }
.diag small { color: var(--mute); font-size: 12.5px; font-weight: 600; }
.diag b { display: block; margin-top: 2px; font-family: var(--head); font-weight: 900; font-size: 18px; letter-spacing: -.03em; }
.diag ul { margin-top: 12px; display: grid; gap: 8px; }
.diag li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.diag li i { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line); position: relative; }
.diag li i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); }
.diag li { animation: tick 9s infinite; }
.diag li i { animation: tickbox 9s infinite; }
.diag li i::after { animation: tickmark 9s infinite; }
.diag li:nth-child(2), .diag li:nth-child(2) i, .diag li:nth-child(2) i::after { animation-delay: .6s; }
.diag li:nth-child(3), .diag li:nth-child(3) i, .diag li:nth-child(3) i::after { animation-delay: 1.2s; }
.diag li:nth-child(4), .diag li:nth-child(4) i, .diag li:nth-child(4) i::after { animation-delay: 1.8s; }
@keyframes tickbox { 0%, 8% { background: #fff; border-color: var(--line); } 12%, 85% { background: var(--green-l); border-color: var(--green-l); } 95%, 100% { background: #fff; border-color: var(--line); } }
@keyframes tickmark { 0%, 8% { transform: rotate(45deg) scale(0); } 12%, 85% { transform: rotate(45deg) scale(1); } 95%, 100% { transform: rotate(45deg) scale(0); } }
@keyframes tick { 0%, 8% { color: var(--mute); } 12%, 85% { color: var(--text); } 95%, 100% { color: var(--mute); } }
.diag .res { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; color: var(--mute); }
.diag .res strong { font-family: var(--head); font-weight: 900; font-size: 22px; color: var(--green); }

/* 1분 진단 */
.quick { position: relative; z-index: 2; margin-top: -10px; }
.quick-box { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 40px 70px -50px rgba(9, 53, 42, .55); border: 1px solid var(--line); }
.quick-l { padding: 28px; background: var(--green); color: #fff; }
.quick-l b { display: block; font-family: var(--head); font-weight: 900; font-size: 24px; letter-spacing: -.04em; line-height: 1.3; }
.quick-l p { margin-top: 8px; color: var(--on-dark-m); font-size: 14.5px; }
.quick-f { padding: 22px 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.quick-f .field input, .quick-f .field select { min-height: 48px; }
.quick-f .btn { min-height: 48px; }
.quick-f .agree-q { grid-column: 1 / -1; font-size: 13px; color: var(--mute); display: flex; align-items: center; gap: 8px; }
.quick-f .agree-q input { width: 16px; height: 16px; accent-color: var(--green); }

/* ★ 매칭 — 후보 자금이 조건에 따라 걸러짐 */
.match { position: relative; background: var(--green-2); color: var(--on-dark); }
.match-static { padding: clamp(84px, 10vw, 140px) 0; }
.match-live { display: none; }
.match.is-live .match-static { display: none; }
.match.is-live .match-live { display: block; height: 460vh; }
.mt-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 96px var(--gut) 40px; }
.mt-count { margin-top: 24px; display: flex; align-items: baseline; gap: 10px; }
.mt-count b { font-family: var(--head); font-weight: 900; font-size: clamp(76px, 9vw, 128px); line-height: .95; color: var(--lime); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.mt-count span { color: var(--on-dark-m); font-size: 16px; }
.mt-steps { margin-top: 22px; display: grid; gap: 6px; }
.mt-step { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-d); color: var(--on-dark-m); font-size: 15px; transition: all .4s var(--ease); }
.mt-step i { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 600; }
.mt-step b { margin-left: auto; font-weight: 600; color: inherit; font-size: 14px; }
.mt-step.on { background: rgba(182, 227, 167, .1); border-color: var(--lime); color: #fff; }
.mt-step.on i { background: var(--lime); border-color: var(--lime); color: var(--green-2); }
.mt-step.done { color: #cfe0d7; }
.mt-step.done i { background: var(--green-l); border-color: var(--green-l); color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.tile { padding: 10px 10px 9px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-d); font-size: 12.5px; line-height: 1.35; color: #e4efe9; transition: opacity .5s var(--ease), transform .5s var(--ease), background .4s, border-color .4s; }
.tile small { display: block; color: var(--on-dark-m); font-size: 11px; }
.tile.out { opacity: .12; transform: scale(.94); }
.tile.win { background: var(--lime); border-color: var(--lime); color: var(--green-2); transform: scale(1.04); box-shadow: 0 18px 30px -16px rgba(182, 227, 167, .6); }
.tile.win small { color: var(--green); }
.mt-co { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-d); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; color: #e4efe9; }
.mt-co b { color: var(--lime); font-weight: 600; }
.ms-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ms-card { padding: 24px 22px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-d); }
.ms-card i { font-style: normal; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--green-2); font-weight: 600; }
.ms-card h3 { margin-top: 12px; font-family: var(--head); font-weight: 800; font-size: 19px; color: #fff; letter-spacing: -.03em; }
.ms-card p { margin-top: 6px; color: var(--on-dark-m); font-size: 14.5px; }

/* 서비스 */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc { display: flex; flex-direction: column; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -40px rgba(9, 53, 42, .5); border-color: var(--green-l); }
.svc figure { aspect-ratio: 4 / 3; overflow: hidden; }
.svc figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc:hover figure img { transform: scale(1.06); }
.svc div { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.svc small { color: var(--green-l); font-size: 13px; font-weight: 600; }
.svc h3 { margin-top: 4px; font-family: var(--head); font-weight: 900; font-size: 22px; letter-spacing: -.04em; }
.svc p { margin-top: 8px; color: var(--mute); font-size: 15px; line-height: 1.65; }
.svc ul { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.svc li { padding: 4px 10px; border-radius: 20px; background: var(--paper); font-size: 12.5px; color: var(--green); font-weight: 600; }
.svc .more { margin-top: auto; padding-top: 16px; }

/* ★ 승인 사례 — 승인 통지서 */
.cases-sec { background: linear-gradient(180deg, var(--paper), #e6efe9); overflow: hidden; }
.slips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.slip { position: relative; padding: 24px 24px 22px; border-radius: 6px; background: #fffef9; border: 1px solid #e3e0d2; box-shadow: 0 1px 0 #fff inset, 0 24px 40px -30px rgba(9, 53, 42, .45); background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(15, 76, 58, .05) 31px 32px); transition: transform .4s var(--ease); }
.slip:nth-child(3n+1) { transform: rotate(-.8deg); }
.slip:nth-child(3n+2) { transform: rotate(.6deg) translateY(10px); }
.slip:nth-child(3n) { transform: rotate(-.3deg); }
.slip:hover { transform: rotate(0) translateY(-4px); }
.slip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--green); border-radius: 6px 6px 0 0; }
.slip-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 1.5px solid var(--text); }
.slip-top small { font-size: 12px; letter-spacing: .14em; color: var(--mute); font-weight: 600; }
.slip-top span { font-size: 13px; color: var(--mute); }
.slip h3 { margin-top: 14px; font-family: var(--head); font-weight: 800; font-size: 17px; letter-spacing: -.03em; color: var(--mute); }
.slip .amt { margin-top: 2px; font-family: var(--head); font-weight: 900; font-size: clamp(30px, 3vw, 40px); letter-spacing: -.05em; color: var(--green); line-height: 1.15; }
.slip dl { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.slip dl div { padding: 10px 0; }
.slip dt { font-size: 12px; color: var(--mute); }
.slip dd { font-weight: 600; font-size: 15px; }
.slip blockquote { margin: 14px 0 0; padding-right: 64px; font-size: 14.5px; line-height: 1.65; color: var(--text); }
.slip cite { padding-right: 64px; display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--mute); }
.stamp { position: absolute; right: 16px; bottom: 16px; width: 76px; height: 76px; border: 3px solid var(--stamp); border-radius: 50%; display: grid; place-items: center; color: var(--stamp); font-family: var(--head); font-weight: 900; font-size: 20px; letter-spacing: .06em; transform: rotate(-16deg) scale(.6); opacity: 0; mix-blend-mode: multiply; }
.stamp::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--stamp); border-radius: 50%; }
.slip.in .stamp, .no-js .stamp { animation: stamp .45s .35s var(--ease) forwards; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-16deg) scale(1.6); } 70% { opacity: .9; transform: rotate(-16deg) scale(.92); } 100% { opacity: .85; transform: rotate(-16deg) scale(1); } }
.case-note { margin-top: 30px; font-size: 13.5px; color: var(--mute); text-align: center; }

/* 절차 */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.flow li { position: relative; padding: 24px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); counter-increment: s; }
.flow li::before { content: "STEP " counter(s, decimal-leading-zero); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--green-l); }
.flow li::after { content: ""; position: absolute; right: -10px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--green-l); border-right: 2px solid var(--green-l); transform: translateY(-50%) rotate(45deg); }
.flow li:last-child::after { display: none; }
.flow h3 { margin-top: 8px; font-family: var(--head); font-weight: 800; font-size: 18px; letter-spacing: -.03em; }
.flow p { margin-top: 6px; color: var(--mute); font-size: 14.5px; line-height: 1.65; }

/* 소개 · 원칙 */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 4.2; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .q { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 18px 20px; border-radius: 16px; background: rgba(9, 53, 42, .82); color: #fff; backdrop-filter: blur(6px); font-family: var(--head); font-weight: 800; font-size: 19px; line-height: 1.45; letter-spacing: -.03em; }
.rules { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rules li { padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.rules b { display: flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 800; font-size: 17px; letter-spacing: -.03em; }
.rules b::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green-l); }
.rules p { margin-top: 6px; color: var(--mute); font-size: 14.5px; line-height: 1.65; }

/* 주의 */
.warn { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.warn-list { display: grid; gap: 10px; }
.warn-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 20px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-d); }
.warn-list i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(214, 64, 44, .16); color: #ff8f7e; font-style: normal; font-weight: 900; font-size: 20px; }
.warn-list b { color: #fff; font-size: 16.5px; }
.warn-list p { margin-top: 4px; color: var(--on-dark-m); font-size: 14.5px; }

/* 상담 띠 */
.cta { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9, 53, 42, .94), rgba(9, 53, 42, .6)); }
.cta-in { padding-top: clamp(80px, 9vw, 130px); padding-bottom: clamp(80px, 9vw, 130px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: end; }
.cta .btns { display: grid; gap: 10px; }
.cta .h2 { color: #fff; }
.cta .h2 mark { color: var(--lime); }

/* 푸터 */
.ft { padding: 56px 0 40px; background: #06241c; color: #8aa298; font-size: 14px; }
.ft-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--line-d); }
.ft .logo b { color: #fff; } .ft .logo small { color: #8aa298; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ft-nav a:hover { color: #fff; }
.ft-legal { margin-top: 20px; display: grid; gap: 4px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-d); color: #b8c9c1; font-size: 13.5px; line-height: 1.7; }
.ft-copy { margin-top: 16px; }

.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; transform: translateY(16px); opacity: 0; visibility: hidden; transition: all .35s var(--ease); }
.fab.show { transform: none; opacity: 1; visibility: visible; }
.fab a { display: flex; align-items: center; gap: 9px; height: 54px; padding: 0 22px 0 18px; border-radius: 40px; background: var(--green); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 14px 30px -12px rgba(9, 53, 42, .7); }
.fab svg { width: 18px; height: 18px; }
.mbar { display: none; }

/* 서브 */
.ph { padding: 140px 0 clamp(50px, 6vw, 80px); background: linear-gradient(180deg, #e3efe8, var(--paper)); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--mute); font-size: 13.5px; }
.crumb li + li::before { content: "›"; margin-right: 8px; opacity: .6; }
.ph h1 { margin-top: 18px; font-family: var(--head); font-weight: 900; font-size: clamp(34px, 5vw, 64px); line-height: 1.18; letter-spacing: -.055em; }
.ph h1 mark { background: linear-gradient(transparent 62%, var(--lime) 62%); color: inherit; }
.ph figure { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 11; box-shadow: 0 40px 70px -50px rgba(9, 53, 42, .6); }
.ph figure img { width: 100%; height: 100%; object-fit: cover; }
.ph.no-img .ph-grid { grid-template-columns: minmax(0, 1fr); }
.subnav { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.subnav a { padding: 9px 16px; border-radius: 30px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.subnav a[aria-current] { background: var(--green); border-color: var(--green); color: #fff; }
.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.detail .body > p { color: var(--text); font-size: 17px; }
.detail .body > p + p { margin-top: 14px; }
.detail h2 { margin-top: 40px; font-family: var(--head); font-weight: 900; font-size: 26px; letter-spacing: -.04em; }
.kinds { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kinds li { padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.kinds b { font-family: var(--head); font-weight: 800; font-size: 17px; letter-spacing: -.03em; }
.kinds p { margin-top: 4px; color: var(--mute); font-size: 14.5px; line-height: 1.65; }
.side { position: sticky; top: 100px; padding: 26px; border-radius: 20px; background: var(--green); color: #fff; }
.side b { display: block; font-family: var(--head); font-weight: 900; font-size: 22px; letter-spacing: -.04em; line-height: 1.35; }
.side p { margin-top: 8px; color: var(--on-dark-m); font-size: 14.5px; }
.side ul { margin-top: 14px; display: grid; gap: 6px; }
.side li { display: flex; gap: 8px; font-size: 14.5px; color: #e4efe9; }
.side li::before { content: "✓"; color: var(--lime); font-weight: 900; }
.side .btn { margin-top: 18px; width: 100%; }
.notice { margin-top: 32px; padding: 16px 18px; border-radius: 12px; background: var(--mint); color: var(--green-2); font-size: 14.5px; }

/* 폼 */
.form { padding: clamp(24px, 3.4vw, 44px); border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 70px -50px rgba(9, 53, 42, .5); }
.form h2 { font-family: var(--head); font-weight: 900; font-size: 26px; letter-spacing: -.04em; }
.form > p { margin-top: 6px; color: var(--mute); font-size: 14.5px; }
.fields { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > .lbl { font-size: 14px; font-weight: 600; }
.field em { color: var(--stamp); font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.field .err { display: none; color: #b5311f; font-size: 13px; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #b5311f; }
.field.bad .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 40px; border: 1.5px solid var(--line); background: #fff; font-size: 14.5px; cursor: pointer; transition: all .2s; }
.chips input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--green-l); outline-offset: 2px; }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--mute); font-weight: 400; }
.field .agree input { margin-top: 4px; width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--green); flex: none; }
.agree a { text-decoration: underline; }
.form .btn { margin-top: 22px; width: 100%; }
.form-done { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--mint); color: var(--green-2); font-size: 14.5px; font-weight: 600; }
.form-done[hidden] { display: none; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 36px; font-family: var(--head); font-weight: 800; font-size: 21px; }
.prose p { margin-top: 10px; }

.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.slip.rv.in:nth-child(3n+1) { transform: rotate(-.8deg); }
.slip.rv.in:nth-child(3n+2) { transform: rotate(.6deg) translateY(10px); }
.slip.rv.in:nth-child(3n) { transform: rotate(-.3deg); }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }
.no-js .rv { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .gnb, .hd-cta { display: none; }
  .menu-btn { display: block; }
  .svc-grid, .ms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li::after { display: none; }
  .quick-box { grid-template-columns: minmax(0, 1fr); }
  .quick-f { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-f .btn { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid, .about-grid, .warn, .cta-in, .ph-grid, .detail { grid-template-columns: minmax(0, 1fr); }
  .stage { max-width: 520px; width: 100%; margin: 0 auto; }
  .side { position: static; }
  .match.is-live .match-live { height: 420vh; }
  .mt-pin { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 14px; padding: 72px var(--gut) 84px; }
  .mt-head .kick, .mt-head .h2 { display: none; }
  .mt-count { margin-top: 0; }
  .mt-count b { font-size: 64px; }
  .mt-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
  .mt-step { padding: 8px 10px; font-size: 13px; }
  .mt-step b { display: none; }
  .mt-co { display: none; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .tile { padding: 7px; font-size: 11px; }
  .tile small { display: none; }
  .tile:nth-child(n+33) { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hd-in { height: 64px; }
  .hero { padding-top: 92px; }
  .hero h1 { font-size: clamp(31px, 9vw, 44px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .diag { width: 72%; padding: 14px; }
  .diag li { font-size: 13px; }
  .quick-f { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .svc-grid, .ms-grid, .slips, .flow, .rules, .kinds { grid-template-columns: minmax(0, 1fr); }
  .slip:nth-child(n), .slip.rv.in:nth-child(n) { transform: none; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .fab { display: none; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; background: var(--green-2); box-shadow: 0 -1px 0 var(--line-d); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; color: #e4efe9; font-size: 14px; font-weight: 600; }
  .mbar a:first-child { background: var(--lime); color: var(--green-2); }
  .mbar svg { width: 18px; height: 18px; }
  .ft { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .frame:nth-child(1) { clip-path: none; animation: none; } .frame:nth-child(n+2) { display: none; }
  .frame img { animation: none; transform: none; }
  .stamp { opacity: .85; transform: rotate(-16deg); animation: none !important; }
  .rv { opacity: 1; transform: none; }
}
