/* 고릴라엄마 랜딩(mama.gorillapi.com)
   색·모양은 앱 디자인 정책(docs/06, 원본 munchkin docs/11)의 파스텔 역할 색만 쓴다.
   기본 청록, 강조 핑크(딸 톤), 위험 산호(SOS), 회색 바탕, 크림(#FCF5E9)은 앱 아이콘 바탕색.
   앱처럼 늘 밝은 화면이다(다크 모드 없음). 글꼴: Gorillapi Sans(Pretendard를 줄인 것). */

@font-face {
  font-family: "Gorillapi Sans";
  src: url("/assets/fonts/gorillapi-sans.woff2?v=bf723d4d") format("woff2-variations"), url("/assets/fonts/gorillapi-sans.woff2?v=bf723d4d") format("woff2");
  font-weight: 45 930;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #45a586; --teal-soft: #ddf4ea; --teal-ink: #1e4a3d; --teal-deep: #2f7d66;
  --pink: #e38aa6; --pink-soft: #fde2ea; --pink-ink: #5a2a3a;
  --coral: #e06c75; --coral-soft: #fde3e4; --coral-ink: #5c1a1f;
  --cream: #fcf5e9;
  --bg: #f4f6f8; --card: #ffffff; --line: #e4e8ed; --line-strong: #c9d0d8;
  --text: #1c1b1f; --sub: #6b7380; --gray: #8a94a3;
  --sans: "Gorillapi Sans", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  --pad: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --squircle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1' preserveAspectRatio='none'%3E%3Cpath d='M1 .5C1 .060561 .776153 0 .5 0C.223847 0 0 .060561 0 .5C0 .939439 .223847 1 .5 1C.776153 1 1 .939439 1 .5Z'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (min-width: 768px) { :root { --pad: 32px; } }

/* ── 기본 ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--card); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.65; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
:lang(en) { word-break: normal; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, dd { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: calc(1160px + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 24px; height: 24px; fill: currentColor; flex: none; }
.squircle { -webkit-mask: var(--squircle) center / 100% 100% no-repeat; mask: var(--squircle) center / 100% 100% no-repeat; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

h1 { font-size: clamp(40px, 6vw, 70px); font-weight: 820; line-height: 1.12; letter-spacing: -0.045em; }
h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; line-height: 1.18; letter-spacing: -0.04em; }
h1 em, h2 em { font-style: normal; color: var(--teal-deep); }

/* ── 머리 줄 ─────────────────────────── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid rgba(28, 27, 31, 0.06); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 19px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.brand__icon { width: 36px; height: 36px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav__link { padding: 8px 14px; border-radius: 999px; color: var(--sub); font-size: 15px; font-weight: 650; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.nav__link:hover { background: var(--teal-soft); color: var(--teal-ink); }
.nav__lang { margin-left: 6px; padding: 6px 9px; border-radius: 8px; border: 1px solid var(--line-strong); color: var(--sub); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; }
.nav__lang:hover { border-color: var(--teal); color: var(--teal-ink); }
.nav__soon { margin-left: 10px; padding: 8px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-ink); font-size: 13.5px; font-weight: 750; white-space: nowrap; }
a.nav__soon { text-decoration: none; }
@media (max-width: 860px) { .nav__link { display: none; } }
@media (max-width: 400px) { .nav__soon { display: none; } }

/* ── 버튼·칩 ─────────────────────────── */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 24px; border-radius: 999px; font-size: 16.5px; font-weight: 750; text-decoration: none; white-space: nowrap; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.btn .ic { width: 20px; height: 20px; }
.btn--soft { background: var(--teal-soft); color: var(--teal-ink); }
.btn--soft:hover { box-shadow: inset 0 0 0 2px var(--teal); }
.store { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 16px; border-radius: 16px; background: var(--text); color: #fff; text-decoration: none; }
.store .ic { width: 28px; height: 28px; color: var(--teal); }
.store span { display: grid; font-size: 16px; font-weight: 750; line-height: 1.15; }
.store small { color: rgba(255, 255, 255, 0.6); font-size: 11px; font-weight: 650; letter-spacing: 0.04em; }
.store.is-off { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.store.is-off .ic { color: var(--gray); }
.store.is-off small { color: var(--gray); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--card); color: var(--teal-ink); font-size: 14px; font-weight: 700; box-shadow: 0 1px 0 rgba(30, 74, 61, 0.06), inset 0 0 0 1px rgba(69, 165, 134, 0.22); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(69, 165, 134, 0.18); }
.eyebrow { color: var(--teal-deep); font-size: 15px; font-weight: 750; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-ink); font-size: 14px; font-weight: 750; }
.tag .ic { width: 18px; height: 18px; color: var(--teal); }
.tag--pink { background: var(--pink-soft); color: var(--pink-ink); }
.tag--pink .ic { color: var(--pink); }
.tag--coral { background: var(--coral-soft); color: var(--coral-ink); }
.tag--coral .ic { color: var(--coral); }
.tile { display: grid; place-items: center; flex: none; width: 44px; height: 44px; background: var(--teal-soft); color: var(--teal); -webkit-mask: var(--squircle) center / 100% 100% no-repeat; mask: var(--squircle) center / 100% 100% no-repeat; }
.tile .ic { width: 22px; height: 22px; }
.tile--pink { background: var(--pink-soft); color: var(--pink); }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.18em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2345A586' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ── 휴대폰 틀 ─────────────────────────── */
.phone { position: relative; width: 260px; padding: 9px; border-radius: 44px; background: #1c1b1f; box-shadow: 0 30px 70px rgba(20, 50, 40, 0.22), inset 0 0 0 2px #34353b; }
.phone img { width: 100%; height: auto; border-radius: 35px; }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 22px; height: 22px; translate: -50% 0; border-radius: 50%; background: #0e0f11; box-shadow: inset 0 0 0 3px #1c1b1f; }

/* 알림 카드 */
.toast { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; max-width: 300px; padding: 12px 16px 12px 12px; border-radius: 20px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 18px 40px rgba(20, 50, 40, 0.16), 0 0 0 1px rgba(28, 27, 31, 0.04); }
.toast img { width: 40px; height: 40px; flex: none; }
.toast span { display: block; color: var(--sub); font-size: 12.5px; font-weight: 600; }
.toast b { display: block; font-size: 15px; font-weight: 750; line-height: 1.35; }
.toast small { color: var(--sub); font-weight: 600; }
.toast__ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; background: var(--teal-soft); color: var(--teal); -webkit-mask: var(--squircle) center / 100% 100% no-repeat; mask: var(--squircle) center / 100% 100% no-repeat; }
.toast__ic .ic { width: 22px; height: 22px; }
.toast .bar { display: block; width: 170px; height: 6px; margin-top: 7px; border-radius: 6px; background: var(--teal-soft); overflow: hidden; }
.toast .bar i { display: block; width: 66%; height: 100%; border-radius: 6px; background: var(--teal); }

/* ── 첫 화면 ────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: linear-gradient(170deg, var(--cream) 0%, var(--cream) 45%, var(--teal-soft) 100%); }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero { padding: 88px 0 104px; } .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px; } }
.hero h1 { margin-top: 24px; }
.lead { margin-top: 24px; max-width: 30em; color: #4a5260; font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.7; }
.hero .cta { margin-top: 36px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--teal-ink); font-size: 14.5px; font-weight: 650; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .ic { width: 18px; height: 18px; color: var(--teal); }
.hero__art { position: relative; width: min(100%, 520px); height: 560px; margin: 0 auto; }
.hero__mama { position: absolute; top: 0; right: 0; width: 72%; box-shadow: 0 30px 60px rgba(90, 42, 58, 0.12); }
.phone--hero { position: absolute; left: 4%; bottom: -150px; width: 236px; transform: rotate(-4deg); }
.toast--a { top: 52%; right: -2%; animation: float 6s ease-in-out infinite; }
.toast--b { bottom: 22px; right: 8%; animation: float 6s ease-in-out -3s infinite; }
@media (max-width: 560px) {
  .hero__art { height: 470px; }
  .phone--hero { width: 196px; bottom: -120px; left: 0; }
  .hero__mama { width: 78%; }
  .toast { max-width: 250px; }
  .toast--a { right: -4px; top: 50%; }
  .toast--b { right: 0; bottom: 8px; }
}

/* 처음 들어올 때 */
.in { animation: rise 0.9s var(--ease) both; }
.in--2 { animation-delay: 0.08s; }
.in--3 { animation-delay: 0.16s; }
.in--4 { animation-delay: 0.24s; }

/* ── 구역 ───────────────────────────── */
.section { padding: 96px 0; }
@media (min-width: 1024px) { .section { padding: 128px 0; } }
.section--cream { background: var(--cream); }
.section--gray { background: var(--bg); }
.head { max-width: 760px; margin-bottom: 56px; }
.head h2 { margin-top: 12px; }
.head > p:not(.eyebrow) { margin-top: 16px; color: var(--sub); font-size: clamp(17px, 1.5vw, 19px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* 기능 줄 */
.feature { display: grid; gap: 36px; align-items: center; margin-top: 40px; }
.feature + .feature { margin-top: 72px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 72px; }
  .feature--flip .feature__copy { order: 2; }
}
.feature h3 { margin-top: 18px; font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.2; letter-spacing: -0.04em; }
.feature__copy > p { margin-top: 16px; max-width: 28em; color: #4a5260; font-size: 18px; }
.feature .checks { margin-top: 22px; color: var(--text); font-size: 16px; font-weight: 550; }
.feature__stage { position: relative; display: grid; place-items: start center; height: 520px; overflow: hidden; padding-top: 56px; border-radius: 36px; background: var(--teal-soft); }
.feature__stage--pink { background: var(--pink-soft); }
.feature__stage--coral { background: var(--coral-soft); }
.feature__stage .phone { width: 270px; box-shadow: 0 30px 60px rgba(20, 50, 40, 0.2), inset 0 0 0 2px #34353b; }
.toast--c { left: 50%; bottom: 44px; translate: -50% 0; width: max-content; }
@media (max-width: 560px) { .feature__stage { height: 440px; padding-top: 40px; } .feature__stage .phone { width: 230px; } }

/* 가족 */
.family { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .family { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.family__copy > p:not(.eyebrow) { margin-top: 16px; max-width: 30em; color: #4a5260; font-size: 18px; }
.family h2 { margin-top: 12px; }
.points { display: grid; gap: 12px; margin-top: 32px; }
.points li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 22px; background: var(--card); }
.points b { display: block; font-size: 16.5px; font-weight: 750; letter-spacing: -0.02em; }
.points p { margin-top: 2px; color: var(--sub); font-size: 15px; }
.family__phones { display: flex; justify-content: center; align-items: flex-end; gap: 22px; }
.family__phones figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.family__phones .phone { width: 230px; }
.family__phones figure:last-child .phone { width: 220px; }
.family__phones figcaption { padding: 6px 14px; border-radius: 999px; background: var(--card); color: var(--teal-ink); font-size: 14px; font-weight: 750; }
@media (max-width: 560px) { .family__phones { gap: 12px; } .family__phones .phone, .family__phones figure:last-child .phone { width: 43vw; padding: 6px; border-radius: 30px; } .family__phones .phone img { border-radius: 25px; } .family__phones .phone::after { top: 13px; width: 14px; height: 14px; } }

/* 요금 */
.plans { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; }
@media (min-width: 768px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { padding: 34px 30px; border-radius: 30px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.plan h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.plan h3 b { color: var(--teal); }
.plan__price { margin-top: 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.plan__price span { display: block; margin-top: 2px; color: var(--sub); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.plan .checks { margin-top: 24px; font-size: 15.5px; }
.plan--pro { background: linear-gradient(160deg, var(--card) 55%, var(--teal-soft)); box-shadow: inset 0 0 0 2px var(--teal); }
.plans__note { max-width: 920px; margin: 18px auto 0; color: var(--sub); font-size: 14.5px; text-align: center; }
.promises { display: grid; gap: 14px; max-width: 920px; margin: 48px auto 0; }
@media (min-width: 768px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promises article { padding: 24px; border-radius: 24px; background: var(--bg); }
.promises h3 { margin-top: 16px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.promises p { margin-top: 6px; color: var(--sub); font-size: 15px; }

/* 자주 묻는 질문 */
.faq__list { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 20px; background: var(--card); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 750; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--gray); transition: transform 0.25s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 24px 22px; color: #4a5260; }

/* 마지막 */
.final { padding: 104px 0; background: linear-gradient(180deg, var(--card), var(--teal-soft)); text-align: center; }
.final__in { display: grid; justify-items: center; }
.final__mama { width: 132px; }
.final h2 { margin-top: 28px; }
.final p { margin-top: 14px; color: var(--sub); }
.final .cta { justify-content: center; margin-top: 28px; }

/* ── 바닥글 ─────────────────────────── */
.foot { padding: 64px 0 40px; background: var(--bg); color: var(--sub); font-size: 14.5px; }
.foot__top { display: grid; gap: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot__top > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot__top { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); } .foot__top > div:first-child { grid-column: auto; } }
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__brand img { width: 44px; height: 44px; }
.foot__brand b { display: block; color: var(--text); font-size: 17px; }
.foot__brand span { display: block; font-size: 13.5px; }
.foot__h { margin: 0 0 12px; color: var(--text); font-size: 13.5px; font-weight: 750; }
.foot ul { display: grid; gap: 8px; }
.foot a { color: var(--sub); text-decoration: none; }
.foot a:hover { color: var(--teal-deep); }
.foot a[aria-current] { color: var(--teal-deep); font-weight: 700; }
.foot em { color: var(--gray); font-style: normal; font-size: 12.5px; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
.biz { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; }
.biz > div { display: flex; gap: 6px; }
.biz dt { color: var(--gray); }
.biz dd { margin: 0; }
.biz a { color: inherit; }

/* ── 404 ────────────────────────────── */
.nf { padding: 120px 0; background: linear-gradient(170deg, var(--cream), var(--teal-soft)); text-align: center; }
.nf img { width: 120px; margin: 0 auto; }
.nf h1 { margin-top: 28px; font-size: clamp(30px, 4vw, 44px); }
.nf p { margin-top: 12px; color: var(--sub); }
.nf .cta { justify-content: center; margin-top: 28px; }

/* ── 움직임 ─────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
