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

/* KidsGlow 소개 사이트
 *
 * 색은 앱 지도의 팔레트를 그대로 쓴다. 페이지 바탕은 흰색이 아니라 지도의
 * '땅'(--land)이고, 내용 블록은 지도의 '건물'(--paper)이다. 블록 사이 여백은
 * 도로처럼 땅이 비쳐 보인다. 장식이 아니라 이 제품의 시각 문법 그대로다. */

:root {
  --land: #EDE7DC;
  --paper: #FAF7F2;
  --ink: #2A241F;
  --muted: #8A7F78;
  --soft: #6B5F56;
  --glow: #E9764B;
  --glow-deep: #C4491B;
  --glow-tint: #FBEDE5;
  --park: #D6E5D0;
  --water: #C9DEEC;
  --line: #E2D9CB;

  --gutter: clamp(14px, 2.2vw, 26px);
  --pad: clamp(24px, 4.4vw, 60px);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--land);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--glow-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; display: block; }

/* ── 헤더 ───────────────────────────────────────────────────────── */
.top {
  position: absolute; inset: 0 0 auto; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px var(--pad);
  max-width: var(--max); margin: 0 auto;
}
.mark {
  font-size: 20px; font-weight: 800; letter-spacing: -.03em;
  text-decoration: none;
}
.mark i { font-style: normal; color: var(--glow-deep); }
.top nav { display: flex; gap: 18px; font-size: 14.5px; font-weight: 600; }
.top nav a { color: var(--soft); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .top nav a.hide-sm { display: none; } }

/* ── 히어로 ─────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--land); }
.hero > svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(237,231,220,.97) 0%, rgba(237,231,220,.93) 34%,
    rgba(237,231,220,.55) 58%, rgba(237,231,220,.1) 84%);
}
.hero .inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(120px, 17vh, 190px) var(--pad) clamp(70px, 11vh, 120px);
}
h1 {
  margin: 0;
  font-size: clamp(38px, 6.6vw, 68px);
  line-height: 1.16; letter-spacing: -.035em; font-weight: 800;
  max-width: 15ch;
}
.lede {
  margin: 22px 0 0; max-width: 34ch;
  font-size: clamp(16.5px, 1.7vw, 19px); color: var(--soft); font-weight: 500;
}

/* 지도 위 멤버 칩 — 앱의 지도 화면과 같은 모양 */
.chips { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 6px 15px 6px 6px;
  box-shadow: 0 3px 12px rgba(42,36,31,.15);
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
.chip b {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 12px; font-weight: 700;
}
.chip.me { background: var(--ink); color: #fff; }
@media (max-width: 860px) { .chips { display: none; } }

/* ── 스토어 버튼 ─────────────────────────────────────────────────── */
.stores { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.store {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 13px 22px; border-radius: 13px;
  font-size: 15px; font-weight: 700;
  transition: transform .16s ease, background .16s ease;
}
.store:hover { background: #17120E; transform: translateY(-1px); }
.store svg { width: 18px; height: 18px; fill: currentColor; }
.store.ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid rgba(42,36,31,.22);
}
.store.ghost:hover { background: rgba(42,36,31,.05); }

/* ── 블록 레이아웃 ───────────────────────────────────────────────── */
.land { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.blocks {
  display: grid; gap: var(--gutter);
  padding: calc(var(--gutter) * 2.4) 0;
}
.block {
  background: var(--paper); border-radius: 18px;
  padding: clamp(26px, 3.6vw, 46px);
  /* 옆 칸의 기기 이미지가 높아 블록이 늘어난다. 글이 위에 붙어 뜨지 않도록
     세로 가운데에 둔다. */
  display: flex; flex-direction: column; justify-content: center;
}
.block h2 {
  margin: 0; font-size: clamp(23px, 2.9vw, 31px);
  line-height: 1.28; letter-spacing: -.028em; font-weight: 800;
  max-width: 20ch;
}
.block p { margin: 13px 0 0; color: var(--soft); max-width: 48ch; }

.pair { grid-template-columns: 1fr; }
@media (min-width: 880px) { .pair { grid-template-columns: 1.15fr .85fr; } }

.shot {
  background: var(--glow-tint); border-radius: 18px;
  display: grid; place-items: end center; overflow: hidden;
  padding: clamp(26px, 3.4vw, 40px) clamp(26px, 3.4vw, 40px) 0;
  /* 세 줄의 높이를 맞춰 리듬을 만든다. 글 길이에 따라 칸이 들쭉날쭉하면
     블록이 도시 구획처럼 안 읽힌다. */
  min-height: 430px;
}
/* 기기는 아래로 살짝 빠져나가 잘린다 — 화면이 이어진다는 느낌을 준다 */
.shot img {
  width: min(100%, 292px); height: auto;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 -2px 26px rgba(42,36,31,.14);
}
.shot.park { background: var(--park); }
.shot.water { background: var(--water); }

/* ── 개인정보 ───────────────────────────────────────────────────── */
.vow { background: var(--ink); color: var(--paper); border-radius: 18px;
       padding: clamp(32px, 4.6vw, 58px); }
.vow h2 { margin: 0; font-size: clamp(24px, 3.1vw, 34px); letter-spacing: -.03em;
          font-weight: 800; max-width: 18ch; line-height: 1.26; }
.vow ul { margin: 26px 0 0; padding: 0; list-style: none;
          display: grid; gap: 15px; max-width: 60ch; }
.vow li { position: relative; padding-left: 26px; color: #D8CFC6; font-size: 16px; }
.vow li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--glow); box-shadow: 0 0 0 4px rgba(233,118,75,.22);
}
.vow strong { color: var(--paper); font-weight: 700; }

/* ── 요금 ───────────────────────────────────────────────────────── */
.plans { display: grid; gap: var(--gutter); grid-template-columns: 1fr; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--paper); border-radius: 18px; padding: clamp(26px, 3.4vw, 40px); }
.plan.pro { background: var(--glow-tint); }
.plan h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.plan .who { margin: 4px 0 20px; color: var(--muted); font-size: 14.5px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.plan li { position: relative; padding-left: 24px; font-size: 15.5px; color: var(--soft); }
.plan li::before {
  content: ""; position: absolute; left: 3px; top: .58em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--line);
}
.plan.pro li::before { background: var(--glow); border-radius: 50%; }
.plan .note { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }

/* ── 마무리 · 푸터 ──────────────────────────────────────────────── */
.close { background: var(--paper); border-radius: 18px;
         padding: clamp(34px, 5vw, 62px); text-align: center; }
.close h2 { margin: 0 auto; max-width: 16ch;
            font-size: clamp(25px, 3.4vw, 36px); letter-spacing: -.03em;
            font-weight: 800; line-height: 1.24; }
.close .stores { justify-content: center; }

footer {
  max-width: var(--max); margin: 0 auto;
  padding: 36px var(--pad) 64px;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  align-items: baseline; font-size: 14px; color: var(--muted);
}
footer a { color: var(--soft); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--ink); text-decoration: underline; }
footer .who { margin-left: auto; }
@media (max-width: 620px) { footer .who { margin-left: 0; width: 100%; } }

/* ── 문서 페이지(계정 삭제 등) ───────────────────────────────────── */
.doc { max-width: 760px; margin: 0 auto; padding: 104px var(--pad) 80px; }
.doc .sheet { background: var(--paper); border-radius: 18px;
              padding: clamp(28px, 4.4vw, 54px); }
.doc h1 { font-size: clamp(28px, 4.2vw, 40px); max-width: 22ch; }
.doc h2 { margin: 42px 0 0; font-size: 21px; font-weight: 800;
          letter-spacing: -.02em; }
.doc h2:first-of-type { margin-top: 30px; }
.doc h3 { margin: 26px 0 0; font-size: 16.5px; font-weight: 700; }
.doc p { margin: 12px 0 0; color: var(--soft); max-width: 66ch; }
.doc ol, .doc ul { margin: 12px 0 0; padding-left: 22px; color: var(--soft);
                   max-width: 66ch; display: grid; gap: 7px; }
.doc .lang { display: flex; gap: 8px; margin-bottom: 26px; }
.doc .lang a { font-size: 14px; font-weight: 700; text-decoration: none;
               padding: 6px 13px; border-radius: 999px;
               background: rgba(42,36,31,.06); color: var(--soft); }
.doc .lang a[aria-current] { background: var(--ink); color: var(--paper); }
.doc .callout { margin: 22px 0 0; background: var(--glow-tint);
                border-radius: 13px; padding: 18px 22px; }
.doc .callout p { color: var(--glow-deep); font-weight: 600; margin: 0; }
.doc hr { margin: 46px 0 0; border: 0; border-top: 1px solid var(--line); }
.doc .mail { font-weight: 700; color: var(--ink); }
