/**
 * moavant.com 메인 페이지 스타일 (2026-10-11 개편 — 머니핏 + mini 시리즈, 글로우 시안)
 * 라이트 단일(DEC-089). 글꼴은 index.html 에서 jsDelivr Pretendard Variable 을 불러온다(CSP style-src/font-src 허용).
 */
:root {
  --ink: #0c1222;
  --sub: #4b5468;
  --mute: #7d869a;
  --bg: #f6f7fb;
  --glass: rgba(255, 255, 255, .62);
  --edge: rgba(255, 255, 255, .85);
  --blue: #1a73e8;
  --blue-d: #1557b0;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.in { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.page { position: relative; overflow: hidden; }
.aura { position: absolute; inset: 0 0 auto 0; height: 1100px; pointer-events: none; background:
  radial-gradient(40% 50% at 18% 30%, rgba(124, 164, 255, .55), transparent 70%),
  radial-gradient(38% 45% at 82% 22%, rgba(178, 150, 255, .5), transparent 70%),
  radial-gradient(45% 40% at 50% 75%, rgba(140, 214, 255, .45), transparent 70%); filter: blur(10px); }

/* ── 머리글 ── */
.hd { position: sticky; top: 0; z-index: 20; background: rgba(246, 247, 251, .55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255, 255, 255, .6); }
.hd .in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--sub); }
.nav a:hover { color: var(--ink); }
.nav .cta { background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 18px; }
.nav .cta:hover { color: #fff; }

/* ── 버튼·공통 부품 ── */
.btn { display: inline-flex; align-items: center; height: 52px; padding-inline: 26px; border-radius: 999px; font-size: 16px; font-weight: 600; }
.btn.p { background: var(--ink); color: #fff; }
.btn.s { background: var(--glass); border: 1px solid var(--edge); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ph { width: 240px; aspect-ratio: 1233 / 2742; padding: 8px; border-radius: 40px; background: #0d1015; box-shadow: 0 40px 80px -30px rgba(15, 23, 42, .45), 0 0 0 1px rgba(255, 255, 255, .07) inset; flex-shrink: 0; container-type: inline-size; }
.ph > img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; background: #fff; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 14px 11px 11px; background: #fff; color: #191f28; border-radius: 16px; box-shadow: 0 16px 40px -12px rgba(15, 23, 42, .28), 0 0 0 1px rgba(15, 23, 42, .04); font-size: 13px; line-height: 1.35; white-space: nowrap; z-index: 3; animation: bob 6s ease-in-out infinite; }
.chip img, .chip .dot { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; }
.chip .dot { display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.chip b { display: block; font-size: 14px; font-weight: 700; }
.chip small { color: #6b7684; font-size: 12px; }
.chip .dd { margin-left: 4px; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #fff1f0; color: #e03131; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check li { position: relative; display: flex; gap: 10px; align-items: flex-start; }
.check li::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; border-radius: 50%; background: currentColor; opacity: .14; }
.check li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 7px; height: 4px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }

/* ── 첫 화면 ── */
.hero { position: relative; padding-block: 88px 0; text-align: center; display: grid; justify-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--glass); border: 1px solid var(--edge); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 14px; font-weight: 600; color: var(--sub); }
.badge i { font-style: normal; background: var(--ink); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.hero h1 { margin-top: 26px; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.18; font-weight: 800; letter-spacing: -.04em; }
.hero p { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: var(--sub); max-width: 32em; }
.btns { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.arc { position: relative; margin-top: 64px; width: 100%; max-width: 1100px; height: 600px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 96%); mask-image: linear-gradient(to bottom, #000 58%, transparent 96%); }
.arc .ph { position: absolute; width: 230px; }
.arc .p1 { left: calc(50% - 360px); bottom: -150px; transform: rotate(-8deg); }
.arc .p2 { left: 50%; bottom: -60px; width: 260px; transform: translateX(-50%); z-index: 2; }
.arc .p3 { right: calc(50% - 360px); bottom: -150px; transform: rotate(8deg); }
.arc .k1 { left: 2%; top: 70px; }
.arc .k2 { right: 2%; top: 40px; animation-delay: -2s; }
.arc .k3 { right: 6%; top: 250px; animation-delay: -4s; }

/* ── 머니핏 앱 화면 (HTML로 그린 예시 화면, 실제 앱 탭 구성: 가계부·자산·구독·분석·설정) ── */
.scr { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #f5f6f8; color: #191f28; position: relative; display: flex; flex-direction: column; font-size: 4.6cqw; line-height: 1.35; text-align: left; }
.scr .sb { display: flex; justify-content: space-between; align-items: center; padding: 1.1em 1.6em .4em; font-size: .78em; font-weight: 600; background: #fff; }
.scr .sb i { display: inline-block; width: 1.1em; height: .7em; border-radius: .15em; background: #191f28; margin-left: .3em; }
.scr .hdr { display: flex; justify-content: space-between; align-items: center; padding: .7em 1.2em .9em; background: #fff; }
.scr .hdr b { font-size: 1.35em; font-weight: 700; }
.scr .hdr span { font-size: .92em; font-weight: 600; color: #4e5968; }
.scr .body { flex: 1; min-height: 0; overflow: hidden; padding: .8em .9em 0; display: grid; gap: .7em; align-content: start; }
.scr .card { background: #fff; border-radius: 1.1em; padding: 1em 1.1em; }
.scr .lbl { font-size: .8em; color: #8b95a1; font-weight: 500; }
.scr .big { font-size: 1.75em; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: .15em; }
.scr .trio { display: flex; gap: .8em; margin-top: .7em; padding-top: .7em; border-top: 1px solid #f2f4f6; font-size: .8em; }
.scr .trio div { flex: 1; display: grid; gap: .1em; }
.scr .trio span { color: #8b95a1; }
.scr .trio b { font-variant-numeric: tabular-nums; }
.scr .day { font-size: .78em; font-weight: 600; color: #8b95a1; padding: .1em .3em 0; }
.scr .list { background: #fff; border-radius: 1.1em; padding: .2em 1em; }
.scr .it { display: flex; align-items: center; gap: .7em; padding: .65em 0; }
.scr .it + .it { border-top: 1px solid #f2f4f6; }
.scr .av { width: 2.3em; height: 2.3em; border-radius: .75em; display: grid; place-items: center; font-size: .72em; font-weight: 700; flex-shrink: 0; }
.scr .it .t { flex: 1; min-width: 0; display: grid; }
.scr .it .t b { font-size: .9em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr .it .t small { font-size: .72em; color: #8b95a1; }
.scr .it .a { font-size: .9em; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scr .it .a.in { color: var(--blue); }
.scr .auto { font-size: .62em; font-weight: 700; color: var(--blue-d); background: #ebf4ff; padding: .1em .45em; border-radius: 99em; margin-left: .3em; vertical-align: .1em; }
.scr .dd2 { font-size: .66em; font-weight: 700; color: #e03131; background: #fff1f0; padding: .15em .5em; border-radius: 99em; margin-right: .4em; }
.scr .fab { position: absolute; right: 1em; bottom: 5.2em; width: 3.2em; height: 3.2em; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 1.1em; box-shadow: 0 .4em 1em rgba(26, 115, 232, .4); }
.scr .tabs2 { display: flex; justify-content: space-around; background: #fff; border-top: 1px solid #eef0f3; padding: .7em .4em 1.3em; }
.scr .tabs2 span { display: grid; justify-items: center; gap: .25em; font-size: .66em; color: #8b95a1; font-weight: 500; }
.scr .tabs2 span::before { content: ""; width: 1.9em; height: 1.9em; border-radius: .55em; background: #e9ecef; }
.scr .tabs2 span.on { color: var(--blue); font-weight: 700; }
.scr .tabs2 span.on::before { background: var(--blue); }
.scr .seg2 { display: flex; gap: .4em; padding: 0 .1em; }
.scr .seg2 span { font-size: .78em; font-weight: 600; padding: .35em .8em; border-radius: 99em; color: #8b95a1; }
.scr .seg2 span.on { background: #e8f0fe; color: var(--blue); }
.scr .donut { width: 9em; height: 9em; border-radius: 50%; margin: .6em auto .2em; background: conic-gradient(#ff8a3d 0 32%, #7c5cff 32% 53%, #22b8cf 53% 71%, #1a73e8 71% 83%, #adb5bd 83% 96%, #e64980 96% 100%); display: grid; place-items: center; }
.scr .donut div { width: 6em; height: 6em; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; font-size: .78em; color: #8b95a1; }
.scr .donut b { display: block; font-size: 1.3em; color: #191f28; font-variant-numeric: tabular-nums; }
.scr .leg { display: grid; gap: .45em; margin-top: .6em; font-size: .8em; }
.scr .leg div { display: flex; align-items: center; gap: .5em; }
.scr .leg i { width: .7em; height: .7em; border-radius: .2em; }
.scr .leg span { flex: 1; }
.scr .leg em { font-style: normal; color: #8b95a1; width: 2.6em; text-align: right; }
.scr .leg b { font-variant-numeric: tabular-nums; min-width: 5.6em; text-align: right; }

/* ── 본문 구역 ── */
.band { position: relative; z-index: 2; padding-block: 72px 0; }
.sec { padding-top: 110px; }
.center { text-align: center; display: grid; justify-items: center; }
.h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.28; font-weight: 800; letter-spacing: -.035em; }
.lead { margin-top: 16px; font-size: 18px; line-height: 1.65; color: var(--sub); max-width: 36em; }

/* 머니핏 */
.mf { position: relative; border-radius: 36px; overflow: hidden; padding: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: linear-gradient(135deg, #dfe9ff 0%, #ece4ff 55%, #e1f3ff 100%); }
.mf .tag { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.mf .tag img { width: 34px; height: 34px; border-radius: 10px; }
.mf h2 { margin-top: 22px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; font-weight: 800; letter-spacing: -.035em; }
.mf p { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--sub); }
.mf .btn { margin-top: 30px; }
.demo { display: grid; gap: 14px; width: 100%; max-width: 400px; justify-self: center; }
.sms, .led { background: #fff; border-radius: 20px; box-shadow: 0 12px 32px -14px rgba(15, 23, 42, .25); color: #191f28; }
.sms { padding: 16px 18px; }
.sms .from { display: flex; justify-content: space-between; font-size: 12px; color: #8b95a1; margin-bottom: 6px; }
.sms p { margin: 0; font-size: 14px; line-height: 1.55; color: #191f28; }
.arrow { justify-self: center; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #8b95a1; }
.arrow i { width: 1px; height: 22px; background: currentColor; opacity: .5; display: block; }
.led { padding: 14px 18px; display: grid; gap: 2px; }
.led .row { display: flex; align-items: center; gap: 12px; padding-block: 8px; }
.led .row + .row { border-top: 1px solid #f2f4f6; }
.led .cat { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.led .t { flex: 1; min-width: 0; display: grid; }
.led .t b { font-size: 15px; font-weight: 600; }
.led .t small { font-size: 12px; color: #8b95a1; }
.led .amt { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.led .new { font-size: 11px; font-weight: 700; color: var(--blue-d); background: #ebf4ff; padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }

/* mini 시리즈 탭 */
.tabs { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tabs button { font: inherit; display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 7px; border-radius: 999px; border: 1px solid rgba(12, 18, 34, .08); background: #fff; color: var(--sub); font-size: 15px; font-weight: 600; cursor: pointer; }
.tabs button img { width: 28px; height: 28px; border-radius: 8px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel { margin-top: 24px; border-radius: 36px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 560px; background: var(--g); }
.panel .txt { padding: 64px; display: grid; align-content: center; }
.panel h3 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.3; font-weight: 800; letter-spacing: -.035em; }
.panel .one { margin-top: 12px; font-size: 17px; color: var(--sub); }
.panel .check { margin-top: 30px; font-size: 17px; color: var(--ink); }
.panel .play { margin-top: 34px; justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding-inline: 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; }
.panel .play.soon { background: rgba(12, 18, 34, .08); color: var(--ink); }
.panel .vis { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 18px; padding-top: 56px; overflow: hidden; }
.panel .vis .ph { width: 230px; margin-bottom: -150px; }
.panel .vis .ph:nth-child(2) { margin-bottom: -210px; }

/* mini 약속 */
.stats { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { position: relative; padding: 30px; border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .55)); border: 1px solid #fff; box-shadow: 0 20px 50px -30px rgba(76, 90, 160, .45); text-align: left; display: grid; gap: 6px; min-height: 220px; align-content: space-between; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(140, 170, 255, .35), transparent 70%); }
.stat small { font-size: 15px; font-weight: 600; }
.stat b { font-size: clamp(54px, 6vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat p { font-size: 15px; line-height: 1.6; color: var(--sub); }

/* 회사 */
.ways { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.way { padding: 32px; border-radius: 24px; background: #fff; border: 1px solid rgba(12, 18, 34, .06); display: grid; gap: 12px; align-content: start; }
.way svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #eef2ff; color: #3b5bdb; }
.way b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.way p { font-size: 15px; line-height: 1.7; color: var(--sub); }

/* 문의 */
.contact { margin-top: 110px; border-radius: 36px; padding: 80px 32px; text-align: center; display: grid; justify-items: center; gap: 16px; background: radial-gradient(60% 120% at 50% 0%, #c9d8ff, #e9e3ff 55%, var(--bg) 100%); }
.contact h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.035em; }
.contact p { font-size: 17px; color: var(--sub); }
.contact .btn { margin-top: 10px; }

/* 바닥글 */
.ft { padding-block: 72px 48px; font-size: 14px; color: var(--sub); }
.ft .grid { display: grid; grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)); gap: 32px; }
.ft h2 { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ft a:hover { color: var(--ink); }
.ft .soon { color: var(--mute); }
.ft .copy { margin-top: 48px; font-size: 13px; color: var(--mute); }

/* ── 좁은 화면 ── */
@media (max-width: 960px) {
  .mf, .panel { grid-template-columns: 1fr; }
  .ways, .stats { grid-template-columns: 1fr; }
  .arc { height: 440px; }
  .arc .ph { width: 180px; }
  .arc .p1 { left: calc(50% - 290px); }
  .arc .p3 { right: calc(50% - 290px); }
  .arc .p2 { width: 210px; }
  .arc .k3 { display: none; }
  .panel .txt, .mf { padding: 40px 28px; }
  .panel .vis { min-height: 360px; }
  .ft .grid { grid-template-columns: 1fr 1fr; }
  .ft .grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .in { padding-inline: 20px; }
  .nav a:not(.cta) { display: none; }
  .hero { padding-top: 56px; }
  .arc { height: 380px; margin-top: 44px; }
  .arc .ph { width: 130px; border-radius: 26px; padding: 6px; }
  .arc .ph .scr { border-radius: 21px; }
  .arc .p1 { left: calc(50% - 205px); bottom: -70px; }
  .arc .p2 { width: 160px; bottom: -20px; }
  .arc .p3 { right: calc(50% - 205px); bottom: -70px; }
  .arc .k1, .arc .k2 { display: none; }
  .band { padding-top: 40px; }
  .sec { padding-top: 80px; }
  .contact { margin-top: 80px; }
  .panel .vis { gap: 12px; }
  .panel .vis .ph { width: 140px; border-radius: 30px; padding: 6px; }
  .panel .vis .ph > img { border-radius: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .chip { animation: none; }
  html { scroll-behavior: auto; }
}
