/* 실버브레인 9988 — 메인 시안 */
:root {
  --green: #007A2F;
  --green-bright: #00A23A;
  --green-dark: #00632A;
  --green-deep: #0B5A2A;
  --lime: #A8D46F;
  --lime-text: #C9EB9C;
  --lime-soft: #E9F5DA;
  --mint: #EEF7EF;
  --cream: #FDFBF3;
  --purple: #7E3489;
  --purple-soft: #A47BAF;
  --ink: #1F2420;
  --ink-2: #4A524C;
  --ink-3: #5C645E;
  --line: #E3E6DF;
  --red: #D7263D;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(20, 60, 30, .08);
  --fs-body: 18px;
  --header-h: 84px;
}
html.is-large { --fs-body: 21px; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 20px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.pc { display: inline; }

/* 공통 */
.eyebrow { font-size: .95em; font-weight: 600; color: var(--green); margin-bottom: 12px; }
.eyebrow b { font-weight: 800; }
.eyebrow.light { color: #fff; }
.center { text-align: center; }
.sec-title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; }
.sec-title span { font-weight: 800; color: var(--green); }
.sec-title.light, .sec-title.light span { color: #fff; }
.sec-title.light span { color: var(--lime-text); }
section { padding: 120px 0; }
.source { margin-top: 20px; font-size: 14px; color: var(--ink-3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1em; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 16px; }
.btn--lg { min-height: 64px; padding: 0 34px; font-size: 1.05em; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); }
.btn--ghost { background: #fff; color: var(--green-deep); border-color: var(--lime); }
.btn--ghost:hover { border-color: var(--green); }
.btn--line { border-color: var(--green); color: var(--green); background: transparent; }
.btn--line:hover { background: var(--green); color: #fff; }
.btn--white { background: #fff; color: var(--green-deep); }

/* 헤더 */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(253, 251, 243, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0, 0, 0, .04); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 40px; height: auto; }
.brand__name { font-size: 22px; font-weight: 800; color: var(--purple); letter-spacing: -.02em; }
.brand__name b { color: var(--purple-soft); }
.gnb { margin-left: auto; }
.gnb ul { display: flex; gap: 4px; }
.gnb a { display: block; padding: 10px 14px; font-size: 17px; font-weight: 600; text-decoration: none; border-radius: 10px; color: var(--ink-2); }
.gnb a:hover { color: var(--green); background: var(--lime-soft); }
.header__util { display: flex; align-items: center; gap: 12px; }
.header__tel { font-weight: 800; font-size: 18px; color: var(--green-deep); text-decoration: none; white-space: nowrap; }
.fontsize {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  font-weight: 800; font-size: 17px; color: var(--ink-2);
}
.fontsize[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.fontsize sup { font-size: 12px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; position: relative; }
.menu-toggle span:not(.sr) { position: absolute; left: 12px; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mnav { background: var(--cream); border-top: 1px solid var(--line); padding: 8px 24px 24px; box-shadow: 0 20px 30px rgba(0,0,0,.08); }
.mnav__cta { display: grid; gap: 10px; margin-top: 20px; }
.mnav__cta a.btn { border-bottom: 2px solid transparent; padding: 0 20px; font-size: 18px; }
.mnav__cta a.btn--ghost { border-color: var(--lime); }
.mnav > a { display: block; padding: 16px 4px; font-size: 20px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }

/* 히어로 */
.hero { position: relative; padding: 72px 0 120px; overflow: hidden; }
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(44px, 6.2vw, 80px); line-height: 1.15; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.hero__title em { font-style: normal; color: var(--green); }
.hero__lead { margin-top: 28px; font-size: 1.1em; color: var(--ink-2); }
.hero__lead strong { color: var(--ink); }
.hero__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { margin-top: 56px; display: flex; gap: 0; }
.hero__proof li { padding: 0 28px; border-left: 1px solid var(--line); }
.hero__proof li:first-child { padding-left: 0; border-left: 0; }
.hero__proof b { display: block; font-size: 30px; font-weight: 800; color: var(--green); letter-spacing: -.02em; line-height: 1.2; }
.hero__proof span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.hero__visual { position: relative; justify-self: end; width: min(100%, 480px); }
.hero__photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 12px #fff, var(--shadow); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__dot { position: absolute; top: -3%; right: -3%; width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #B9DE6E, #7DB52E); }

/* 통계 */
.stats { padding: 96px 0; background: #fff; }
.stats .sec-title { font-size: clamp(26px, 3vw, 36px); }
.stats__grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 20px; }
.stat { padding: 36px 32px; border-radius: var(--radius); background: var(--mint); }
.stat__label { font-size: 16px; color: var(--ink-2); }
.stat__num { margin-top: 8px; font-size: clamp(34px, 3.6vw, 46px); font-weight: 800; color: var(--green); letter-spacing: -.03em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat--accent { background: var(--green); }
.stat--accent .stat__label { color: #fff; }
.stat--accent .stat__num { color: #fff; font-size: clamp(46px, 5vw, 64px); }

/* 문제 제기 */
.problem__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.problem__head .sec-title span { color: var(--red); }
.problem__list { display: grid; gap: 16px; }
.problem__list li { display: flex; gap: 20px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.problem__list li.is-answer { border: 2px solid var(--green); background: var(--lime-soft); }
.problem__list b { font-size: 1.1em; }
.problem__list p { margin-top: 4px; color: var(--ink-2); }
.problem__x, .problem__o { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.problem__x { background: #FBE3E6; color: var(--red); }
.problem__o { background: var(--green); color: #fff; }

/* 특장점 */
.features { background: var(--mint); }
.features__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 32px 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-content: start; }
.feature__icon { color: var(--green); display: flex; align-items: center; }
.feature__icon svg { width: 36px; height: 36px; }
.feature h3 { align-self: center; font-size: 1.2em; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; }
.feature ul { grid-column: 1 / -1; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.feature li { position: relative; padding-left: 26px; font-size: .92em; color: var(--ink-2); line-height: 1.55; }
.feature li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }

/* 교구 구성 */
.tools__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.tools__head .sec-title span { font-size: 1.15em; }
.tools__lead { margin-top: 16px; color: var(--ink-2); }
.tabs { display: inline-flex; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.tabs button { min-width: 120px; min-height: 52px; border: 0; border-radius: 999px; background: transparent; font-weight: 800; font-size: 18px; color: var(--ink-3); }
.tabs button[aria-selected="true"] { background: var(--green); color: #fff; }
.tools__grid { margin-top: 40px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.tool { padding: 12px 12px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; transition: transform .2s, box-shadow .2s; }
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tool img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: #fff; }
.tool__area { display: inline-block; margin-top: 16px; padding: 2px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.tool b { display: block; margin-top: 6px; font-size: 1.05em; }
.area--lang { background: #FFF0D9; color: #9A5A00; }
.area--space { background: #E3F1FF; color: #1D5FA0; }
.area--sense { background: #F3E8F6; color: var(--purple); }
.area--memory { background: #E4F5E9; color: var(--green-dark); }
.area--social { background: #FDE7E2; color: #B23C1E; }
.tools__notes { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--ink-3); }
.tools__notes li::before { content: "· "; }
.tools__notes b { color: var(--ink); }

/* 활용 사례 */
.cases { background: #fff; }
.cases__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { margin-top: 32px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; color: var(--ink-2); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.checks b { color: var(--ink); }
.cases__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cases__list li { padding: 28px 24px; border-radius: var(--radius); background: var(--mint); min-height: 168px; display: flex; flex-direction: column; }
.cases__region { align-self: flex-start; padding: 4px 14px; border-radius: 999px; background: var(--green); color: #fff; font-size: 15px; font-weight: 800; }
.cases__list b { margin-top: 16px; font-size: 1.05em; line-height: 1.45; }
.cases__list small { margin-top: 4px; font-size: 15px; color: var(--ink-3); }

/* 추천사 */
.reviews__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review { margin: 0; padding: 40px 36px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; }
.review::before { content: "“"; position: absolute; top: 8px; left: 28px; font-size: 80px; line-height: 1; color: var(--lime); font-family: Georgia, serif; }
.review blockquote { margin: 24px 0 0; font-size: 1.05em; line-height: 1.7; }
.review figcaption { margin-top: 20px; font-size: 15px; color: var(--ink-3); }
.review figcaption b { color: var(--ink); }

/* 본사 지원 */
.support { background: var(--green-deep); color: #fff; position: relative; overflow: hidden; }
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { padding: 32px 28px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.steps__no { font-size: 15px; font-weight: 800; color: var(--lime-text); }
.steps b { display: block; margin-top: 12px; font-size: 1.2em; }
.steps p { margin-top: 8px; font-size: .92em; color: rgba(255,255,255,.78); line-height: 1.6; }

/* 원스라이프 */
.programs__head { display: flex; flex-direction: column; gap: 20px; }
.programs__head img { width: 240px; height: auto; }
.programs__grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.program { text-decoration: none; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.program b { padding: 20px 22px 0; font-size: 1.05em; }
.program span { padding: 2px 22px 22px; font-size: 15px; color: var(--ink-3); }
.license { margin-top: 32px; padding: 40px 44px; border-radius: var(--radius); background: var(--lime-soft); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.license h3 { font-size: 1.5em; font-weight: 800; }
.license p:not(.eyebrow) { margin-top: 8px; color: var(--ink-2); max-width: 640px; }

/* 문의 */
.contact { background: var(--green); color: #fff; }
.contact__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact__tel { display: block; margin-top: 40px; font-size: clamp(36px, 4vw, 52px); font-weight: 800; letter-spacing: -.02em; text-decoration: none; line-height: 1.2; }
.contact__tel span { display: block; font-size: 16px; font-weight: 600; color: #fff; letter-spacing: 0; }
.contact__hours { margin: 8px 0 32px; font-size: 16px; color: #fff; }
.form { padding: 40px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.15); display: grid; gap: 18px; }
.form__row { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.form__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label, .form legend { font-size: 16px; font-weight: 700; padding: 0; }
.form em { color: var(--red); font-style: normal; }
.form input[type="text"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 54px; padding: 12px 16px; border: 1.5px solid #CDD3CB; border-radius: 12px;
  font: inherit; font-size: 17px; background: #fff; color: var(--ink);
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); outline: 3px solid rgba(0,162,58,.18); }
.form [aria-invalid="true"] { border-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 1.5px solid #CDD3CB; border-radius: 999px; font-weight: 600; cursor: pointer; }
.chips label:has(input:checked) { border-color: var(--green); background: var(--lime-soft); color: var(--green-deep); }
.chips input, .agree input { width: 20px; height: 20px; accent-color: var(--green); }
.agree { display: flex; align-items: center; gap: 10px; font-weight: 500 !important; font-size: 15px !important; color: var(--ink-2); }
.form__msg { font-size: 16px; font-weight: 700; color: var(--green-dark); min-height: 1em; }
.form__msg.is-error { color: var(--red); }

/* 푸터 */
.footer { padding: 56px 0 120px; background: #17201A; color: rgba(255,255,255,.7); font-size: 15px; }
.footer__inner { display: grid; gap: 20px; }
.footer address { font-style: normal; line-height: 1.8; }
.footer__todo { color: rgba(255,255,255,.62); }
.footer__copy { color: rgba(255,255,255,.62); font-size: 14px; }

/* 플로팅 전화 */
.float-call {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 8px;
  min-height: 60px; padding: 0 24px 0 20px; border-radius: 999px; background: var(--purple); color: #fff;
  font-weight: 800; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}
.float-call svg { width: 24px; height: 24px; }

/* 등장 애니메이션 */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .tool:hover, .program:hover { transform: none; }
}

/* 반응형 */
@media (max-width: 1180px) {
  .gnb a { padding: 10px 10px; font-size: 16px; }
  .header__tel { display: none; }
}
@media (max-width: 1024px) {
  .gnb, .header__util .btn { display: none; }
  .menu-toggle { display: block; }
  .header__util { margin-left: auto; }
  .header__tel { display: block; }
  .features__grid, .steps, .programs__grid { grid-template-columns: repeat(2, 1fr); }
  .tools__grid { grid-template-columns: repeat(3, 1fr); }
  .cases__inner, .problem__inner, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --fs-body: 17px; --header-h: 68px; }
  html.is-large { --fs-body: 20px; }
  section { padding: 80px 0; }
  .wrap { width: calc(100% - 40px); }
  .pc { display: none; }
  .brand__name { font-size: 19px; }
  .brand img { width: 34px; }
  .header__tel { display: none; }
  .hero { padding: 32px 0 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { order: -1; justify-self: center; width: min(78%, 340px); }
  .hero__dot { width: 44px; height: 44px; top: -2%; right: -6%; }
  .hero__proof { flex-wrap: wrap; gap: 16px 0; }
  .hero__proof li { padding: 0 16px; flex: 1 1 30%; }
  .hero__proof b { font-size: 24px; }
  .hero__proof span { font-size: 13px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .stats__grid { grid-template-columns: 1fr; }
  .features__grid, .steps, .programs__grid, .reviews__grid { grid-template-columns: 1fr; }
  .tools__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; }
  .cases__list { grid-template-columns: 1fr; }
  .cases__list li { min-height: 0; }
  .license { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .form { padding: 28px 20px; }
  .form__cols { grid-template-columns: 1fr; }
  .float-call span { display: none; }
  .float-call { padding: 0; width: 60px; justify-content: center; right: 16px; bottom: 16px; }
}
