/* 사이다 수학 · 공통 스타일 (System A) */
@font-face {
  font-family: "KyoboHand";
  src: url("fonts/kyobo-hand-sub.woff") format("woff");
  font-display: swap;
}

:root {
  /* 사이다 수학 · System A */
  --ink: #142427;
  --ink-2: #253c40;
  --body: #2f4549;
  --muted: #5d6b70;
  --mint: #25c9ae;
  --mint-deep: #0f7a6e;
  --mint-soft: #ddf8f2;
  --lime: #d7f85e;
  --paper: #fbfaf5;
  --white: #ffffff;
  --line: rgba(20, 36, 39, 0.13);
  --line-2: rgba(20, 36, 39, 0.08);

  /* 서비스 색 */
  --suk: #ffb23f;
  --suk-coral: #ff6b5b;
  --suk-deep: #c43d30;
  --suk-bg: #fff6e5;
  --suk-ink: #3b2f4a;
  --pago: #2b6cb0;
  --pago-bg: #ebf4ff;
  --pago-ink: #1a202c;
  --ch: #0b2545;
  --ch-2: #133a63;
  --ch-gold: #f5a524;
  --ch-sky: #5ea9ff;

  --r: 8px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  --hand: "KyoboHand", "Nanum Pen Script", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
section { scroll-margin-top: 76px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.52;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
          mask-image: linear-gradient(to bottom, #000 60%, transparent);
}

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--r);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible + span, summary:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { box-shadow: 0 10px 22px -12px rgba(20, 36, 39, .7); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* 공통 섹션 머리 */
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border: 1.5px solid rgba(37, 201, 174, .4);
  border-radius: var(--r);
  background: var(--mint-soft);
  color: var(--mint-deep);
  font-size: 14px;
  font-weight: 800;
}
.sec { padding: 72px 0; }
@media (min-width: 900px) { .sec { padding: 104px 0; } }
.sec-head { max-width: 720px; margin-bottom: 36px; }
.sec-head h2 {
  margin-top: 16px;
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.sec-head p { margin-top: 14px; color: var(--body); font-size: 17px; }
.hl { background: linear-gradient(transparent 60%, rgba(215, 248, 94, .95) 0); }

/* ───────── 머리글 ───────── */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 245, .88);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
          backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; font-weight: 900; letter-spacing: -0.01em; }
.mark { flex: none; display: block; width: 34px; height: 34px; }
.nav { display: none; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 700; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--mint-deep); }
.top .btn { margin-left: auto; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .top .btn { margin-left: 4px; }
}

/* ───────── 첫 화면 ───────── */
.hero { padding: 48px 0 72px; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 80px 0 112px; } }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(42px, 7.4vw, 82px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.pop { position: relative; display: inline-block; }
.pop::after {
  content: "";
  position: absolute;
  left: -4px; right: -6px; bottom: 6%;
  height: 34%;
  background: var(--lime);
  z-index: -1;
  border-radius: 4px;
  transform-origin: left;
  animation: sweep .7s .35s cubic-bezier(.2, .8, .2, 1) both;
}
.hero .lead { margin-top: 22px; max-width: 520px; color: var(--body); font-size: clamp(17px, 2vw, 20px); font-weight: 600; line-height: 1.6; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trio { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding: 0; list-style: none; }
.trio li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--ink-2);
}
.trio img, .trio .dot { width: 22px; height: 22px; border-radius: 6px; }
.trio .dot { display: grid; place-items: center; background: var(--ch); color: var(--ch-gold); font-size: 13px; font-weight: 900; }
.trio b { font-weight: 900; color: var(--ink); }

/* 거품 */
.bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bubbles i {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  border: 2px solid rgba(37, 201, 174, .45);
  animation: rise linear infinite;
}
.bubbles i:nth-child(2n) { border: 0; background: rgba(215, 248, 94, .7); }
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-110vh) translateX(18px); opacity: 0; }
}

/* 풀이 노트 */
.note-wrap { position: relative; max-width: 500px; width: 100%; margin: 0 auto; }
.note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 30px 60px -30px rgba(20, 36, 39, .45), 0 2px 0 rgba(20, 36, 39, .04);
  transform: rotate(-1.4deg);
}
.note svg { display: block; width: 100%; height: auto; }
.note .hand { font-family: var(--hand); }
.hl-bar { transform-box: fill-box; transform-origin: left; animation: sweep .6s .9s cubic-bezier(.2, .8, .2, 1) both; }
.circle { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw .7s 1.4s ease-out forwards; }
.arrow { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw .5s 2s ease-out forwards; }
.t-note { opacity: 0; animation: fade .5s 2.3s ease-out forwards; }
.pin {
  position: absolute;
  top: 25%;
  right: 2%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  font-size: 14px; font-weight: 800;
  box-shadow: 0 12px 24px -12px rgba(20, 36, 39, .6);
  opacity: 0;
  animation: pop .45s 1.9s cubic-bezier(.2, 1.4, .4, 1) forwards;
}
@media (max-width: 560px) {
  .pin { top: auto; bottom: -16px; right: 10px; font-size: 13px; }
}
.pin::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(215, 248, 94, .25); }
@keyframes sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }

/* ───────── 답답함 세 가지 ───────── */
.pains { display: grid; gap: 16px; }
@media (min-width: 900px) { .pains { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pain {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--c);
  border-radius: var(--r);
  padding: 24px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pain:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(20, 36, 39, .5); }
.pain q { quotes: "“" "”"; font-size: 19px; font-weight: 800; line-height: 1.45; color: var(--ink); }
.pain .to { display: flex; align-items: center; gap: 8px; margin: 22px 0 12px; color: var(--muted); font-size: 13px; font-weight: 700; }
.pain .to::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pain .svc { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 900; color: var(--ct); }
.pain .svc img, .pain .svc .dot { width: 28px; height: 28px; border-radius: 7px; }
.pain .svc .dot { display: grid; place-items: center; background: var(--ch); color: var(--ch-gold); font-size: 15px; }
.pain p { margin-top: 8px; color: var(--body); font-size: 15.5px; }
.pain--suk { --c: var(--suk); --ct: var(--suk-deep); }
.pain--pago { --c: var(--pago); --ct: var(--pago); }
.pain--ch { --c: var(--ch); --ct: var(--ch); }

/* ───────── 방법 찾기 ───────── */
.finder {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  padding: 32px 20px;
}
@media (min-width: 640px) { .finder { padding: 48px 44px; } }
.finder .eyebrow { background: rgba(215, 248, 94, .14); border-color: rgba(215, 248, 94, .35); color: var(--lime); }
.finder h2 { margin-top: 14px; font-size: clamp(26px, 4vw, 38px); font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; }
.finder-grid { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 960px) { .finder-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; } }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; font-size: 16px; font-weight: 800; color: #d5e2e3; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span {
  display: inline-flex; align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1.5px solid rgba(255, 255, 255, .22);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .05);
  font-size: 15px; font-weight: 700;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pills label:hover span { border-color: rgba(255, 255, 255, .5); }
.pills input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 900; }
.result {
  min-height: 236px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .06);
  border: 1.5px dashed rgba(255, 255, 255, .25);
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: #b9c9cb;
  font-weight: 700;
}
.result.has {
  display: block;
  place-items: normal;
  text-align: left;
  background: #fff;
  color: var(--ink);
  border: 0;
  border-left: 8px solid var(--rc);
  animation: pop .35s ease-out;
}
.result .k { font-size: 13px; font-weight: 800; color: var(--muted); }
.result h3 { margin-top: 4px; display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 900; color: var(--rt); }
.result h3 img, .result h3 .dot { width: 34px; height: 34px; border-radius: 8px; }
.result h3 .dot { display: grid; place-items: center; background: var(--ch); color: var(--ch-gold); font-size: 18px; }
.result .line { margin-top: 10px; font-size: 16.5px; font-weight: 700; color: var(--ink-2); }
.result .note-txt { margin-top: 10px; padding: 10px 12px; border-radius: var(--r); background: var(--mint-soft); color: var(--mint-deep); font-size: 14.5px; font-weight: 700; }
.result .go { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 18px; }
.result .go a.more { font-size: 15px; font-weight: 700; color: var(--muted); }
.r-suk { --rc: var(--suk); --rt: var(--suk-deep); }
.r-pago { --rc: var(--pago); --rt: var(--pago); }
.r-ch { --rc: var(--ch-gold); --rt: var(--ch); }

/* ───────── 서비스 ───────── */
.svc-band { padding: 64px 0; }
@media (min-width: 900px) { .svc-band { padding: 88px 0; } }
.svc-band .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .svc-band .wrap { grid-template-columns: 1fr 1fr; gap: 64px; }
  .svc-band.flip .svc-text { order: 2; }
}
.svc-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.svc-top img, .svc-top .dot { width: 44px; height: 44px; border-radius: 11px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.svc-text h3 { margin-top: 16px; font-size: clamp(34px, 5vw, 48px); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.svc-text .tagline { margin-top: 10px; font-size: clamp(18px, 2.2vw, 21px); font-weight: 800; }
.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; font-size: 16px; font-weight: 600; counter-increment: s; }
.steps li::before {
  content: counter(s);
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: var(--r);
  font-size: 15px; font-weight: 900;
  background: var(--sc); color: var(--sct);
}
.steps li span { padding-top: 4px; }
.meta { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--ml); display: grid; gap: 4px; font-size: 15px; font-weight: 700; }
.meta small { font-size: 13.5px; font-weight: 600; opacity: .8; }
.svc-cta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 22px; }

/* 쑥쑥쏙쏙 */
.svc-suk { background: var(--suk-bg); color: var(--suk-ink); --sc: var(--suk); --sct: var(--suk-ink); --ml: rgba(59, 47, 74, .15); }
.svc-suk h3 { font-family: "Jua", var(--font); font-weight: 400; color: var(--suk-ink); letter-spacing: 0; }
.svc-suk .tagline { color: var(--suk-deep); }
.svc-suk .tag { background: #fff; color: var(--suk-deep); border: 1.5px solid rgba(196, 61, 48, .25); }
.svc-suk .tag.beta { background: var(--suk-coral); color: #fff; border: 0; }
.btn-suk { background: var(--suk-deep); color: #fff; }
.vis-suk { display: grid; gap: 18px; justify-items: center; }
.push {
  width: 100%; max-width: 380px;
  display: grid; grid-template-columns: 44px 1fr; gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 36px -20px rgba(59, 47, 74, .45);
}
.push img { width: 44px; height: 44px; border-radius: 11px; }
.push .app { display: flex; justify-content: space-between; font-size: 12.5px; color: #8a7f95; font-weight: 700; }
.push b { display: block; margin-top: 2px; font-size: 15.5px; color: var(--suk-ink); }
.push p { font-size: 14px; color: #5b4f68; font-weight: 600; }
.grow {
  width: 100%; max-width: 380px;
  padding: 18px 16px 14px;
  background: #fff;
  border: 2px dashed rgba(255, 178, 63, .6);
  border-radius: 16px;
}
.grow-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.grow-row figure { margin: 0; display: grid; justify-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: #8a7f95; }
.grow-row img { height: auto; }
.grow p { margin-top: 10px; text-align: center; font-family: "Jua", var(--font); font-size: 16px; color: var(--suk-ink); }

/* 파고수학 */
.svc-pago { background: var(--pago-bg); color: var(--pago-ink); --sc: var(--pago); --sct: #fff; --ml: rgba(43, 108, 176, .2); }
.svc-pago h3 { color: var(--pago); }
.svc-pago .tagline { color: var(--pago-ink); }
.svc-pago .tag { background: #fff; color: var(--pago); border: 1.5px solid rgba(43, 108, 176, .3); }
.btn-pago { background: var(--pago); color: #fff; }
.vis-pago { display: grid; gap: 14px; align-items: center; justify-items: center; }
@media (min-width: 560px) { .vis-pago { grid-template-columns: 1fr auto 1fr; } }
.sheet {
  width: 100%; max-width: 260px;
  padding: 16px;
  background: #fff;
  border: 1px solid #d6e3f2;
  border-radius: 12px;
  box-shadow: 0 18px 36px -24px rgba(26, 32, 44, .5);
}
.sheet .h { font-size: 13px; font-weight: 800; color: #4a5568; }
.sheet .h b { color: var(--pago); }
.cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 12px; }
.cells span {
  display: grid; place-items: center;
  aspect-ratio: 1;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px; font-weight: 800; color: #718096;
}
.cells span.x { position: relative; border-color: var(--pago); background: var(--pago); color: #fff; }
.cells span.x::after {
  content: "✓";
  position: absolute; top: -7px; right: -6px;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #c2362b; color: #fff;
  font-size: 11px;
}
.sheet .f { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--pago); }
.flow { font-size: 28px; font-weight: 900; color: var(--pago); transform: rotate(90deg); }
@media (min-width: 560px) { .flow { transform: none; } }
.book { position: relative; width: 100%; max-width: 230px; height: 250px; }
.book .pg {
  position: absolute;
  inset: 0;
  background: #fff;
  border: 1px solid #d6e3f2;
  border-radius: 10px;
  box-shadow: 0 14px 28px -22px rgba(26, 32, 44, .55);
}
.book .pg:nth-child(1) { transform: translate(14px, 14px) rotate(3deg); }
.book .pg:nth-child(2) { transform: translate(7px, 7px) rotate(1.5deg); }
.book .pg:nth-child(3) { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.book .ttl { font-size: 14px; font-weight: 900; color: var(--pago); }
.book .sub { font-size: 12px; font-weight: 700; color: #718096; margin-top: -4px; }
.book .q { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.book .q i { display: grid; place-items: center; height: 22px; border-radius: 6px; background: var(--pago-bg); color: var(--pago); font-style: normal; font-size: 12px; font-weight: 900; }
.book .q div { display: grid; gap: 5px; padding-top: 4px; }
.book .q div::before, .book .q div::after { content: ""; height: 6px; border-radius: 3px; background: #e2e8f0; }
.book .q div::after { width: 70%; }
.book .ans { margin-top: auto; align-self: flex-start; padding: 4px 9px; border-radius: 999px; background: #fff8e1; color: #9c6a0f; font-size: 12px; font-weight: 800; }

/* 사이다 챌린지 */
.svc-ch { background: var(--ch); color: #fff; --sc: var(--ch-gold); --sct: var(--ch); --ml: rgba(255, 255, 255, .18); }
.svc-ch h3 { color: #fff; }
.svc-ch .tagline { color: var(--ch-gold); }
.svc-ch .tag { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .25); }
.svc-ch .steps li { color: #e6edf5; }
.svc-ch .via { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #b8c7d9; }
.svc-ch .via img { width: 22px; height: 22px; border-radius: 6px; }
.svc-ch .dot { display: grid; place-items: center; background: var(--ch-gold); color: var(--ch); font-size: 24px; font-weight: 900; }
.btn-ch { background: var(--ch-gold); color: var(--ch); }
.svc-ch a.more { color: #cfe0f3; font-weight: 700; font-size: 15px; }
.chat {
  width: 100%; max-width: 400px; margin: 0 auto;
  padding: 18px 16px;
  background: var(--ch-2);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  display: grid; gap: 12px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.chat .day { justify-self: center; font-size: 12px; font-weight: 800; color: #9fb4cc; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; font-weight: 600; }
.msg.me { justify-self: end; background: var(--ch-sky); color: #06213f; border-bottom-right-radius: 4px; }
.msg.t { justify-self: start; background: #fff; color: var(--ch); border-bottom-left-radius: 4px; }
.msg.t .who { display: block; font-size: 12px; font-weight: 800; color: #6b7f96; margin-bottom: 2px; }
.photo {
  justify-self: end;
  width: 70%;
  padding: 10px 12px;
  border-radius: 14px;
  border-bottom-right-radius: 4px;
  background: #fff;
  color: #2c3a3d;
  font-family: var(--hand);
  font-size: 19px;
  line-height: 1.35;
}
.photo small { display: block; font-family: var(--font); font-size: 11px; font-weight: 800; color: #6b7f96; margin-bottom: 4px; }
.photo .bad { background: linear-gradient(transparent 50%, rgba(215, 248, 94, .9) 0); }
.ok { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(245, 165, 36, .16); color: var(--ch-gold); font-size: 13.5px; font-weight: 800; }
.streak { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 13.5px; font-weight: 800; color: #cfe0f3; }
.streak .dots { display: flex; gap: 6px; }
.streak .dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--ch-gold); }
.streak .dots i.off { background: transparent; border: 2px solid rgba(245, 165, 36, .5); }

/* ───────── 원칙 ───────── */
.rules { display: grid; gap: 14px; }
@media (min-width: 720px) { .rules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rules { grid-template-columns: repeat(6, 1fr); } .rule { grid-column: span 2; } .rule:nth-child(4) { grid-column: 2 / span 2; } }
.rule { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.rule .no { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r); background: var(--mint); color: #fff; font-size: 15px; font-weight: 900; }
.rule h3 { margin-top: 16px; font-size: 20px; font-weight: 900; line-height: 1.35; }
.rule p { margin-top: 8px; color: var(--body); font-size: 15.5px; }
.rule .where { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.rule .where span { padding: 3px 8px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; color: var(--muted); }

/* ───────── 원장 이야기 ───────── */
.story { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.story .wrap { display: grid; gap: 40px; }
@media (min-width: 960px) { .story .wrap { grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; } }
.story .eyebrow { background: rgba(215, 248, 94, .14); border-color: rgba(215, 248, 94, .35); color: var(--lime); }
.story h2 { margin-top: 16px; font-size: clamp(28px, 4.4vw, 44px); font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; }
.story .txt { margin-top: 24px; display: grid; gap: 14px; color: #cfdcdd; font-size: 17px; line-height: 1.75; }
.story .txt strong { color: #fff; }
.sign { display: grid; gap: 16px; }
.quote-card {
  padding: 28px 24px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
}
.quote-card .hand-big { font-family: var(--hand); font-size: clamp(30px, 4vw, 38px); line-height: 1.3; color: var(--lime); }
.quote-card .by { margin-top: 14px; font-family: var(--hand); font-size: 22px; color: #e6eeee; text-align: right; }
.yt {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center;
  padding: 16px 18px;
  border-radius: var(--r);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: transform .15s ease;
}
.yt:hover { transform: translateY(-2px); }
.yt .play { width: 52px; height: 38px; border-radius: 10px; background: #e62117; display: grid; place-items: center; }
.yt .play::after { content: ""; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.yt b { display: block; font-size: 16px; font-weight: 900; }
.yt span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.yt .arr { font-size: 20px; font-weight: 900; color: var(--mint-deep); }

/* ───────── 숫자 ───────── */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; }
.stat .n { font-size: clamp(30px, 4.6vw, 44px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
.stat .n small { font-size: .5em; font-weight: 800; margin-left: 2px; }
.stat p { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--ink-2); line-height: 1.45; }
.stat time { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.fine { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* ───────── 후기 ───────── */
.rev-hero {
  position: relative;
  margin: 0 0 14px;
  padding: 34px 24px 26px;
  border-radius: var(--r);
  background: var(--mint-soft);
  border: 1px solid rgba(37, 201, 174, .35);
  overflow: hidden;
}
.rev-hero::before {
  content: "\201C";
  position: absolute; top: -18px; right: 18px;
  font-size: 160px; line-height: 1; font-weight: 900;
  color: var(--mint); opacity: .28;
}
.rev-hero blockquote { position: relative; margin: 0; font-size: clamp(22px, 3.4vw, 34px); font-weight: 900; line-height: 1.45; letter-spacing: -0.02em; }
.rev-hero figcaption, .rv figcaption { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.rev-hero figcaption { margin-top: 20px; }
.rev-hero .ch-mark, .rv figcaption img, .rv figcaption .ch-mark { flex: none; width: 22px; height: 22px; border-radius: 6px; font-size: 12px; }
@media (min-width: 900px) { .rev-hero { padding: 44px 48px 34px; } }

.rev-grid { columns: 1; column-gap: 14px; }
@media (min-width: 720px) { .rev-grid { columns: 2; } }
@media (min-width: 1000px) { .rev-grid { columns: 3; } }
.rv {
  break-inside: avoid;
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
  padding: 20px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
}
.rv blockquote { margin: 0; color: var(--ink-2); font-size: 16px; font-weight: 600; line-height: 1.7; }
.rv-tag { justify-self: start; padding: 3px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 800; }
.rv-ch .rv-tag { background: #e7edf5; color: var(--ch); }
.rv-pago .rv-tag { background: var(--pago-bg); color: var(--pago); }
.rev-more { display: none; }
@media (max-width: 719px) {
  .rev-grid.is-collapsed .rv:nth-child(n+6) { display: none; }
  .rev-grid.is-collapsed + .rev-more { display: flex; width: 100%; }
}

.rev-news {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  padding: 30px 20px;
  border-radius: var(--r);
  background: var(--ch);
  color: #fff;
}
@media (min-width: 900px) { .rev-news { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; padding: 44px 48px; } }
.rev-src { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #b8c7d9; }
.rev-src .ch-mark { width: 22px; height: 22px; border-radius: 6px; font-size: 12px; background: var(--ch-gold); color: var(--ch); }
.rev-news h3 { margin-top: 14px; font-size: clamp(24px, 3.2vw, 32px); font-weight: 900; line-height: 1.3; letter-spacing: -0.02em; }
.rev-news h3 + p { margin-top: 12px; color: #c6d3e3; font-size: 15px; }
.rev-msgs { display: grid; gap: 10px; }
.rev-msg {
  justify-self: start;
  padding: 12px 16px;
  border-radius: 4px 16px 16px 16px;
  background: #fff;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
}
.rev-msg .who { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 800; color: var(--muted); }
.rev-msg mark { padding: 0 4px; border-radius: 4px; background: var(--ch-gold); color: var(--ch); font-weight: 900; }
@media (min-width: 900px) { .rev-msg:nth-child(even) { margin-left: 36px; } }

/* ───────── 자주 묻는 질문 ───────── */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px;
  font-size: 17px; font-weight: 800;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: var(--r); background: var(--mint-soft); color: var(--mint-deep); font-size: 20px; font-weight: 900; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 20px 20px; color: var(--body); font-size: 15.5px; }
.faq .a ul { margin: 6px 0 0; padding-left: 18px; }

/* ───────── 마지막 권유 ───────── */
.final { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; border-radius: var(--r); padding: 44px 22px; text-align: center; }
@media (min-width: 640px) { .final { padding: 64px 40px; } }
.final h2 { font-size: clamp(26px, 4.2vw, 42px); font-weight: 900; line-height: 1.25; letter-spacing: -0.02em; }
.final p { margin: 16px auto 0; max-width: 520px; color: #cfdcdd; font-size: 17px; }
.final .btn { margin-top: 28px; }

/* ───────── 바닥글 ───────── */
footer { position: relative; margin-top: 72px; padding: 48px 0 40px; font-size: 14px; color: var(--muted); }
footer::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 2px; background: linear-gradient(90deg, var(--mint), transparent); }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-grid h4 { margin: 0 0 10px; font-size: 13px; font-weight: 800; color: var(--ink); letter-spacing: .04em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.foot-grid a:hover { color: var(--mint-deep); }
.foot-tag { margin-top: 12px; font-weight: 600; }
.b2b { margin-top: 32px; padding: 14px 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink-2); }
.b2b a { color: var(--mint-deep); font-weight: 800; }
.biz { margin-top: 24px; font-size: 12.5px; line-height: 1.8; }
.biz .legal { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.biz .legal a { text-decoration: none; font-weight: 700; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .bubbles { display: none; }
  html { scroll-behavior: auto; }
}

/* 서비스 머리의 이용 가이드 바로가기 */
.guide-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.guide-chips > span:first-child { font-size: 13px; font-weight: 800; color: var(--muted); margin-right: 2px; }
.guide-chips a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px 0 8px;
  border-radius: var(--r); border: 1.5px solid var(--line); background: #fff;
  text-decoration: none; font-size: 14.5px; font-weight: 800; color: var(--ink-2);
}
.guide-chips a:hover { border-color: var(--ink); }
.guide-chips img, .guide-chips .ch-mark { width: 24px; height: 24px; border-radius: 6px; font-size: 13px; }
.ch-mark { display: grid; place-items: center; background: var(--ch); color: var(--ch-gold); font-weight: 900; }
.guide-link { font-size: 15px; font-weight: 800; }
.svc-suk .guide-link { color: var(--suk-deep); }
.svc-pago .guide-link { color: var(--pago); }
.svc-ch .guide-link { color: #cfe0f3; }
