/* 공든탑 소개 페이지(/about/, .lp-root). 앱(/)과 따로 떨어진 정적 페이지. 마크업은 scripts/build-pages.mjs 가 만든다 */
html, body { margin: 0; background: #fff7ee; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
.lp-root {
  --lp-bg: #fff7ee; --lp-surface: #ffffff; --lp-ink: #33241a; --lp-ink2: #5c4637; --lp-muted: #7f6757;
  --lp-acc: #b04a09; --lp-btn: #c4540d; --lp-btn-edge: #8f3a06; --lp-soft: #ffeedd; --lp-line: #f0dfcf;
  --lp-dark: #3a2418; --lp-dark2: #2b1a11; --lp-radius: 22px;
  color: var(--lp-ink); background: var(--lp-bg); font-size: 16px; line-height: 1.7; word-break: keep-all;
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
.lp-root *, .lp-root *::before, .lp-root *::after { box-sizing: border-box; }
.lp-root a { color: var(--lp-acc); }
.lp-root h1, .lp-root h2 { letter-spacing: -0.03em; line-height: 1.25; margin: 0; text-wrap: balance; }
.lp-root h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.lp-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.lp-lead { color: var(--lp-ink2); margin: 10px 0 28px; font-size: 17px; }

/* 머리: 스크롤해도 따라온다 */
.lp-top { position: sticky; top: 0; z-index: 10; background: rgba(255, 247, 238, 0.88); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(240, 223, 207, 0.8); }
.lp-bar { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--lp-ink) !important; text-decoration: none; }
.lp-top nav { display: flex; gap: 4px; margin-left: auto; }
.lp-top nav a { color: var(--lp-ink2); font-weight: 650; text-decoration: none; padding: 8px 12px; border-radius: 10px; transition: background-color 160ms ease, color 160ms ease; }
.lp-top nav a:hover { background: var(--lp-soft); color: var(--lp-acc); }

/* 버튼: 아래 테두리를 두껍게 해 눌리는 느낌 */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 22px; border-radius: 16px; background: var(--lp-btn); color: #fff !important; font-weight: 800; text-decoration: none; box-shadow: 0 4px 0 var(--lp-btn-edge); transition: transform 120ms ease, box-shadow 120ms ease, filter 160ms ease; }
.lp-btn:hover { filter: brightness(1.06); }
.lp-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--lp-btn-edge); }
.lp-btn.lg { min-height: 58px; padding: 0 30px; font-size: 18px; }
.lp-btn.sm { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 14px; box-shadow: 0 3px 0 var(--lp-btn-edge); }
.lp-btn.ghost { background: var(--lp-surface); color: var(--lp-acc) !important; box-shadow: 0 4px 0 var(--lp-line), inset 0 0 0 2px var(--lp-line); }
.lp-btn.ghost:active { box-shadow: 0 1px 0 var(--lp-line), inset 0 0 0 2px var(--lp-line); }
.lp-btn.light { background: #fff; color: var(--lp-acc) !important; box-shadow: 0 4px 0 #f3c8a6; }
.lp-btn:focus-visible, .lp-top nav a:focus-visible, .lp-chips a:focus-visible, .lp-certs a:focus-visible, .lp-blog a:focus-visible, .lp-faq summary:focus-visible { outline: 3px solid #f29a54; outline-offset: 3px; }

/* 첫 화면 */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.lp-eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--lp-soft); color: var(--lp-acc); font-weight: 700; font-size: 14px; }
.lp-hero h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 850; margin-bottom: 20px; }
.lp-h1-brand { display: block; font-size: 0.42em; color: var(--lp-acc); letter-spacing: -0.02em; margin-bottom: 10px; }
.lp-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--lp-ink2); max-width: 30em; margin: 0 0 32px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.lp-note { margin: 18px 0 0; color: var(--lp-muted); font-size: 14px; }
.lp-hero-art { position: relative; height: 560px; }
.lp-hero-art::before { content: ""; position: absolute; inset: 6% 4% 2% 8%; border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; background: radial-gradient(circle at 40% 40%, #ffd9b3, #ffe9d4 60%, transparent 72%); }
.lp-phone { margin: 0; width: 248px; border-radius: 38px; padding: 9px; background: #2b1a11; box-shadow: 0 30px 60px -24px rgba(58, 36, 24, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.04); }
.lp-phone img { display: block; width: 100%; height: auto; border-radius: 30px; background: #fff7ee; }
.lp-hero-art .lp-phone { position: absolute; }
.lp-hero-art .lp-phone:nth-of-type(1) { left: 6%; top: 46px; transform: rotate(-6deg); }
.lp-hero-art .lp-phone:nth-of-type(2) { right: 4%; top: 0; transform: rotate(4deg); z-index: 1; }
.lp-hero-beaver { position: absolute; left: -2%; bottom: -10px; width: 170px; height: auto; z-index: 2; animation: lp-bob 4s ease-in-out infinite; }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* 자격증 띠 */
.lp-chips { padding-top: 8px; padding-bottom: 24px; }
.lp-chips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lp-chips a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--lp-surface); border: 1.5px solid var(--lp-line); color: var(--lp-ink2); font-weight: 650; font-size: 15px; text-decoration: none; transition: border-color 160ms ease, color 160ms ease, transform 160ms ease; }
.lp-chips a:hover { border-color: #f2b98c; color: var(--lp-acc); transform: translateY(-2px); }

/* 이런 적 있죠? */
.lp-pain { padding-top: 72px; padding-bottom: 24px; text-align: center; }
.lp-pain ul { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.lp-pain li { background: var(--lp-surface); border-radius: var(--lp-radius); padding: 26px 26px 28px; display: grid; gap: 6px; box-shadow: 0 1px 0 var(--lp-line); }
.lp-pain li span { color: var(--lp-muted); font-weight: 650; }
.lp-pain li b { font-size: 21px; line-height: 1.4; letter-spacing: -0.02em; }
.lp-pain-ans { display: inline-flex; align-items: center; gap: 16px; margin: 32px auto 0; padding: 14px 26px 14px 14px; border-radius: 999px; background: var(--lp-soft); font-size: 18px; color: var(--lp-ink); text-align: left; }
.lp-pain-ans img { width: 64px; height: 64px; flex: none; }
.lp-pain-ans b { color: var(--lp-acc); }

/* 기능: 글과 화면이 번갈아 */
.lp-features { padding: 40px 0 24px; }
.lp-feat { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-top: 56px; padding-bottom: 56px; }
.lp-feat.rev .lp-feat-copy { order: 2; }
.lp-feat-copy { max-width: 480px; }
.lp-feat.rev .lp-feat-copy { justify-self: end; }
.lp-tag { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 10px; background: var(--lp-soft); color: var(--lp-acc); font-weight: 750; font-size: 14px; }
.lp-feat-copy p:last-child { color: var(--lp-ink2); font-size: 18px; margin: 18px 0 0; }
.lp-feat-art { display: grid; place-items: center; position: relative; }
.lp-feat-art::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: #ffe7cf; }
.lp-feat-art .lp-phone { position: relative; width: 260px; }

/* 숫자 띠 */
.lp-band { margin-top: 40px; padding: 80px 0; background: var(--lp-dark); color: #fff3e6; }
.lp-band h2 { text-align: center; color: #fff3e6; }
.lp-stats { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.lp-stats li { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--lp-radius); padding: 26px 24px; display: grid; gap: 4px; text-align: center; }
.lp-stats b { font-size: clamp(30px, 3.4vw, 40px); font-weight: 850; letter-spacing: -0.03em; color: #ffb37a; font-variant-numeric: tabular-nums; }
.lp-stats span { color: #e8d3c2; font-size: 15px; }
.lp-band-note { text-align: center; color: #d9c2b1; margin: 28px auto 0; max-width: 40em; font-size: 15px; }

/* 자격증 카드 */
#lp-certs { padding-top: 88px; scroll-margin-top: 72px; }
#lp-how { scroll-margin-top: 72px; }
.lp-certs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.lp-certs li { background: var(--lp-surface); border-radius: 18px; padding: 20px 22px; display: grid; gap: 14px; align-content: space-between; box-shadow: 0 1px 0 var(--lp-line); transition: transform 160ms ease, box-shadow 160ms ease; }
.lp-certs li:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(58, 36, 24, 0.35); }
.lp-certs li > a:first-child { display: grid; gap: 4px; text-decoration: none; color: var(--lp-ink); }
.lp-certs li > a:first-child b { font-size: 17px; line-height: 1.4; }
.lp-certs li > a:first-child span { color: var(--lp-muted); font-size: 14px; }
.lp-go, .lp-sec-head a, .lp-more { display: inline-flex; align-items: center; gap: 2px; font-size: 15px; font-weight: 750; text-decoration: none; }

/* 블로그 */
.lp-blog-sec { padding-top: 88px; }
.lp-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lp-blog { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-blog a { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; height: 100%; background: var(--lp-surface); border-radius: var(--lp-radius); padding: 24px 24px 22px; text-decoration: none; color: var(--lp-ink); box-shadow: 0 1px 0 var(--lp-line); transition: transform 160ms ease, box-shadow 160ms ease; }
.lp-blog a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(58, 36, 24, 0.35); }
.lp-blog b { font-size: 18px; line-height: 1.45; letter-spacing: -0.02em; }
.lp-blog span { color: var(--lp-ink2); font-size: 15px; }
.lp-blog .lp-blog-meta { color: var(--lp-acc); font-size: 13px; font-weight: 700; }
.lp-blog .lp-more { color: var(--lp-acc); margin-top: 6px; }

/* 자주 묻는 질문 */
.lp-faq-sec { padding-top: 88px; padding-bottom: 96px; max-width: 860px; }
.lp-faq { margin-top: 28px; display: grid; gap: 12px; }
.lp-faq details { background: var(--lp-surface); border-radius: 18px; box-shadow: 0 1px 0 var(--lp-line); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 750; font-size: 17px; border-radius: 18px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary i { color: var(--lp-muted); transition: transform 200ms ease; }
.lp-faq details[open] summary i { transform: rotate(180deg); }
.lp-faq details p { margin: 0; padding: 0 24px 22px; color: var(--lp-ink2); }

/* 마지막 권유 */
.lp-final { background: #a3420a; color: #fff; padding: 72px 0 64px; text-align: center; }
.lp-final img { width: 150px; height: auto; margin: 0 auto 8px; display: block; }
.lp-final h2 { color: #fff; }
.lp-final > .lp-wrap > p { color: #fff1e6; font-size: 18px; margin: 12px 0 28px; }
.lp-final .lp-cta { justify-content: center; }
.lp-app { display: flex; align-items: center; gap: 20px; max-width: 640px; margin: 44px auto 0; padding: 20px 24px; border-radius: var(--lp-radius); background: rgba(0, 0, 0, 0.16); text-align: left; }
.lp-app img { width: 104px; height: 104px; margin: 0; background: #fff; border-radius: 12px; padding: 6px; flex: none; }
.lp-app b { font-size: 18px; }
.lp-app p { margin: 4px 0 0; color: #fff1e6; font-size: 15px; }
.lp-app a { color: #fff; font-weight: 700; }

/* 바닥 */
.lp-foot { background: var(--lp-dark2); color: #d9c2b1; padding: 56px 0 64px; font-size: 15px; }
.lp-foot .lp-wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.lp-foot .lp-brand { color: #fff3e6 !important; font-size: 20px; }
.lp-foot-brand p { margin: 10px 0 0; }
.lp-foot div > b { display: block; color: #fff3e6; margin-bottom: 10px; }
.lp-foot div > a { display: block; color: #d9c2b1; text-decoration: none; padding: 3px 0; }
.lp-foot div > a:hover { color: #fff; }

@media (max-width: 960px) {
  .lp-hero { grid-template-columns: 1fr; padding-top: 32px; gap: 24px; }
  .lp-hero-art { height: 460px; max-width: 520px; width: 100%; margin: 0 auto; }
  .lp-pain ul, .lp-blog { grid-template-columns: 1fr; }
  .lp-feat { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
  .lp-feat.rev .lp-feat-copy { order: 0; justify-self: start; }
  .lp-foot .lp-wrap { grid-template-columns: 1fr 1fr; }
  .lp-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .lp-wrap { padding: 0 16px; }
  .lp-bar { gap: 12px; min-height: 60px; }
  .lp-top nav { display: none; }
  .lp-top .lp-btn.sm { margin-left: auto; }
  .lp-btn.lg { width: 100%; }
  .lp-hero-art { height: 470px; }
  .lp-phone { width: 190px; border-radius: 30px; padding: 7px; }
  .lp-phone img { border-radius: 24px; }
  .lp-hero-art .lp-phone:nth-of-type(1) { left: 0; top: 40px; }
  .lp-hero-art .lp-phone:nth-of-type(2) { right: 0; }
  .lp-hero-beaver { width: 120px; left: -4px; bottom: 0; }
  .lp-certs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lp-certs li { padding: 14px 14px 16px; gap: 10px; border-radius: 16px; }
  .lp-certs li > a:first-child b { font-size: 15px; }
  .lp-certs li > a:first-child span { font-size: 12.5px; line-height: 1.5; }
  .lp-go { font-size: 13.5px; }
  .lp-chips ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .lp-chips li { flex: none; }
  .lp-pain { padding-top: 48px; }
  .lp-pain-ans { border-radius: 20px; font-size: 16px; }
  .lp-feat-art::before { width: 280px; height: 280px; }
  .lp-feat-art .lp-phone { width: 220px; }
  .lp-feat-copy p:last-child { font-size: 17px; }
  .lp-band { padding: 56px 0; }
  .lp-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lp-stats li { padding: 18px 12px; }
  .lp-app { flex-direction: column; text-align: center; }
  .lp-foot .lp-wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-root *, .lp-root *::before { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
