@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #131226;
  --muted: #646278;
  --purple: #6c45ff;
  --purple-dark: #4f2de0;
  --lavender: #f4f1ff;
  --line: #e9e6f4;
  --footer: #17122f;
  --white: #fff;
  --shadow: 0 18px 50px rgba(49, 35, 109, 0.12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Noto Sans KR", sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, textarea { font: inherit; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: #000; color: #fff; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(249, 248, 255, 0.94); border-bottom: 1px solid rgba(33, 24, 72, .08); backdrop-filter: blur(16px); }
.header-inner { width: min(1180px, calc(100% - 40px)); min-height: 92px; margin: auto; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; color: var(--purple); font-size: 20px; font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; color: white; background: linear-gradient(140deg, #8e76ff, #572bf3); border-radius: 9px 4px 9px 4px; box-shadow: 0 6px 16px rgba(108, 69, 255, .25); }
.desktop-nav { flex: 1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; font-weight: 500; }
.desktop-nav a { position: relative; white-space: nowrap; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--purple); transition: right .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
.nav-break { flex-basis: 100%; height: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-link, .menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; color: var(--ink); background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.icon-link:hover, .menu-toggle:hover { background: white; }
.icon-link svg, .menu-toggle svg, .button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; }
.mobile-menu { padding: 10px 24px 24px; background: #fff; border-top: 1px solid var(--line); }
.mobile-menu a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.hero, .feature-split, .about-band, .page-hero, .contact-layout { width: min(1280px, calc(100% - 48px)); margin: auto; }
.hero { min-height: 690px; padding: 70px 0; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 60px; }
.eyebrow { margin: 0 0 14px; color: var(--purple); font-weight: 800; font-size: 13px; letter-spacing: .12em; }
.hero h1, .page-hero h1 { margin: 0; font-size: clamp(44px, 5.2vw, 76px); line-height: 1.13; letter-spacing: -.055em; }
.hero h1 span { color: var(--purple); }
.hero-copy > p:not(.eyebrow), .page-hero > div > p:not(.eyebrow) { margin: 26px 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 25px; color: #fff; background: linear-gradient(135deg, #7958ff, #5e34f2); border: 0; border-radius: 999px; box-shadow: 0 14px 28px rgba(108, 69, 255, .22); font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(108, 69, 255, .3); }
.button-secondary { color: var(--purple); background: #fff; border: 1px solid #d8d0ff; box-shadow: none; }
.button svg { width: 18px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 32px; color: #454159; font-size: 14px; }
.visual-card { overflow: hidden; background: var(--lavender); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero .visual-card { transform: rotate(1deg); }
.quick-guide, .content-section, .proof { padding: 110px max(24px, calc((100% - 1180px)/2)); }
.quick-guide { background: linear-gradient(180deg, #faf9ff, #fff); }
.section-heading { max-width: 640px; margin-bottom: 46px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2, .feature-copy h2, .about-band h2, .proof h2, .final-cta h2, .info-band h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; letter-spacing: -.04em; }
.section-heading > p:not(.eyebrow), .feature-copy > p:not(.eyebrow), .about-band > div > p:not(.eyebrow) { color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.topic-card { position: relative; min-height: 250px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.topic-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.topic-card > span { display: inline-grid; place-items: center; width: 42px; height: 42px; color: var(--purple); background: var(--lavender); border-radius: 12px; font-weight: 800; }
.topic-card h3 { margin: 24px 0 10px; font-size: 21px; }
.topic-card p { color: var(--muted); font-size: 14px; }
.topic-card b { position: absolute; left: 30px; bottom: 25px; color: var(--purple); font-size: 13px; }
.feature-split { padding: 105px 0; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 82px; border-bottom: 1px solid #f1eff7; }
.feature-split.flip .visual-card { order: 2; }
.feature-copy { max-width: 500px; }
.feature-copy h2 { font-size: clamp(32px, 3.2vw, 48px); }
.feature-copy > p:not(.eyebrow) { margin: 0 0 18px; font-size: 17px; }
.feature-copy .button { margin-top: 16px; }
.about-band { margin-top: 70px; margin-bottom: 70px; padding: 38px; display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 60px; background: linear-gradient(120deg, #f7f4ff, #fff); border: 1px solid var(--line); border-radius: 34px; }
.about-band .visual-card { box-shadow: none; }
.proof { background: #f8f7fc; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stats div { padding: 42px 24px; text-align: center; background: #fff; border-radius: 24px; box-shadow: 0 14px 40px rgba(27, 19, 65, .08); }
.stats strong { display: block; color: var(--purple); font-size: clamp(46px, 6vw, 78px); line-height: 1; }
.stats span { display: block; margin-top: 12px; font-weight: 700; }
.final-cta { padding: 110px 24px; text-align: center; }
.final-cta p:not(.eyebrow) { color: var(--muted); }
.final-cta .button { margin-top: 20px; }
.page-hero { min-height: 620px; padding: 76px 0; display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
.page-hero > div > p:not(.eyebrow) { max-width: 560px; }
.page-hero .button { margin-top: 10px; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.article-card { min-height: 260px; padding: 35px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.article-card > span, .value-grid article > span { color: var(--purple); font-weight: 800; letter-spacing: .12em; }
.article-card h3 { margin: 18px 0 10px; font-size: 24px; }
.article-card p { color: var(--muted); }
.article-card a { color: var(--purple); font-weight: 700; }
.info-band { margin: 40px auto 100px; width: min(1180px, calc(100% - 48px)); padding: 65px; color: #fff; background: var(--footer); border-radius: 32px; text-align: center; }
.info-band p { color: #c9c4dd; }
.info-band .button { margin-top: 18px; color: #fff; background: transparent; border-color: #706b83; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-grid article { padding: 35px; background: #faf9ff; border-radius: 22px; }
.value-grid h3 { margin: 17px 0 10px; }
.value-grid p { color: var(--muted); }
.contact-hero, .legal-hero { padding: 90px 24px 50px; text-align: center; background: linear-gradient(180deg, #f7f5ff, #fff); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.blog-hero { padding: 100px 24px 70px; text-align: center; background: linear-gradient(180deg, #f7f5ff, #fff); }
.blog-hero h1 { max-width: 900px; margin: 0 auto; font-size: clamp(44px, 6vw, 72px); line-height: 1.18; letter-spacing: -.055em; }
.blog-hero > p:not(.eyebrow) { max-width: 720px; margin: 24px auto 0; color: var(--muted); font-size: 17px; }
.blog-browser { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 30px 0 110px; }
.blog-tools { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 24px; background: #faf9ff; border: 1px solid var(--line); border-radius: 22px; }
.search-box { flex: 0 1 360px; }
.search-box input { width: 100%; padding: 14px 18px; color: var(--ink); background: #fff; border: 1px solid #dcd8eb; border-radius: 999px; outline: 0; }
.search-box input:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(108,69,255,.1); }
.category-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.category-filters button, .pagination button { padding: 9px 14px; color: #514e62; background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.category-filters button.active, .pagination button.active { color: #fff; background: var(--purple); border-color: var(--purple); }
.result-count { margin: 30px 0 15px; color: var(--muted); font-size: 14px; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.post-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 25px; box-shadow: 0 12px 35px rgba(31,22,70,.07); }
.post-card[hidden] { display: none; }
.post-image { display: block; aspect-ratio: 16/8.4; overflow: hidden; background: var(--lavender); }
.post-image img { height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-image img { transform: scale(1.025); }
.post-body { padding: 27px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; color: var(--muted); font-size: 12px; }
.post-meta span:first-child { color: var(--purple); font-weight: 700; }
.post-card h2 { margin: 15px 0 10px; font-size: 24px; line-height: 1.35; }
.post-card p { color: var(--muted); }
.post-link { color: var(--purple); font-weight: 700; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 42px; }
.pagination button { min-width: 42px; }
.empty-results { padding: 70px 20px; text-align: center; }
.article-page { width: min(980px, calc(100% - 48px)); margin: auto; padding: 90px 0; }
.article-header { max-width: 850px; margin: 0 auto 55px; text-align: center; }
.article-category { display: inline-block; margin-bottom: 16px; color: var(--purple); font-weight: 800; }
.article-header h1 { margin: 0; font-size: clamp(40px, 6vw, 68px); line-height: 1.18; letter-spacing: -.05em; }
.article-header > p { max-width: 720px; margin: 24px auto; color: var(--muted); font-size: 18px; }
.article-header .post-meta { justify-content: center; }
.article-cover { margin-bottom: 65px; }
.article-content { width: min(740px, 100%); margin: auto; font-size: 17px; }
.article-lead { padding: 25px; background: var(--lavender); border-left: 4px solid var(--purple); border-radius: 0 16px 16px 0; }
.article-content section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.article-content h2 { margin: 0 0 15px; font-size: 27px; line-height: 1.4; }
.article-content p { margin: 0; color: #403d50; }
.article-check { margin-top: 45px; padding: 30px; color: #fff; background: var(--footer); border-radius: 22px; }
.article-check h2 { margin-top: 0; }
.article-check li + li { margin-top: 8px; }
.related-posts { width: min(980px, calc(100% - 48px)); margin: 0 auto 100px; }
.form-help { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.contact-hero h1, .legal-hero h1 { margin: 0; font-size: clamp(48px, 6vw, 76px); letter-spacing: -.05em; }
.contact-hero > p:not(.eyebrow), .legal-hero > p:not(.eyebrow) { color: var(--muted); }
.contact-layout { padding: 50px 0 110px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; }
.contact-form { padding: 42px; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 16px 18px; color: var(--ink); background: #fbfbfd; border: 1px solid #dcd9e7; border-radius: 14px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(108, 69, 255, .1); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 26px; color: var(--muted); font-size: 13px; }
.consent input { margin-top: 5px; }
.consent a { color: var(--purple); text-decoration: underline; }
.contact-form .button { width: 100%; }
.form-status { min-height: 26px; margin: 13px 0 0; color: var(--purple); font-size: 13px; }
.contact-card { align-self: start; padding: 42px; background: var(--lavender); border-radius: 28px; }
.contact-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 28px; color: var(--purple); background: #fff; border-radius: 18px; }
.contact-icon svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.contact-card h2 { margin: 0 0 12px; font-size: 28px; }
.contact-card > a { display: inline-block; margin: 12px 0; color: var(--purple); font-weight: 700; word-break: break-all; }
.contact-note { margin-top: 28px; padding-top: 24px; border-top: 1px solid #d9d2f4; }
.contact-note p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.legal-document { width: min(860px, calc(100% - 48px)); margin: 20px auto 110px; padding: 55px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.legal-intro { padding: 24px; background: var(--lavender); border-radius: 16px; }
.legal-document section { padding: 25px 0; border-bottom: 1px solid var(--line); }
.legal-document h2 { margin: 0 0 12px; font-size: 21px; }
.legal-document p { margin: 0; color: #464356; }
.legal-contact { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; color: var(--purple); }
.site-footer { color: #f4f1ff; background: var(--footer); }
.footer-inner { width: min(1110px, calc(100% - 48px)); margin: auto; padding: 76px 0 60px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 70px; }
.brand-light { color: #fff; }
.footer-brand p { color: #aca7c2; }
.site-footer h2 { margin: 0 0 18px; font-size: 17px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; color: #c3bed6; font-size: 14px; }
.footer-links a:hover, .footer-email:hover { color: #fff; }
.footer-email { color: #ded9ef; text-decoration: underline; }
.social-title { margin-top: 28px !important; }
.socials { display: flex; gap: 10px; }
.socials span { display: grid; place-items: center; width: 34px; height: 34px; color: var(--footer); background: #fff; border-radius: 50%; font-weight: 800; }
.copyright { padding: 20px 24px; color: #8e89a5; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: 12px; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .header-inner { min-height: 76px; }
  .header-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { text-align: center; }
  .hero-actions, .trust-row { justify-content: center; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-split, .page-hero { gap: 45px; }
}

@media (max-width: 760px) {
  .header-inner { width: min(100% - 28px, 1180px); }
  .brand { font-size: 18px; }
  .hero, .feature-split, .about-band, .page-hero, .contact-layout { width: min(100% - 32px, 1280px); }
  .hero { min-height: 0; padding: 46px 0 70px; gap: 36px; }
  .hero h1, .page-hero h1 { font-size: 39px; }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .hero .visual-card { transform: none; }
  .hero-actions .button { width: 100%; }
  .quick-guide, .content-section, .proof { padding: 75px 16px; }
  .topic-grid, .article-grid, .value-grid, .stats { grid-template-columns: 1fr; }
  .feature-split { padding: 72px 0; grid-template-columns: 1fr; gap: 34px; }
  .feature-split.flip .visual-card { order: 0; }
  .feature-copy { max-width: none; }
  .feature-copy h2 { font-size: 32px; }
  .feature-copy > p:not(.eyebrow) { font-size: 15px; }
  .feature-copy .button { width: 100%; }
  .about-band { margin-top: 40px; margin-bottom: 40px; padding: 20px; grid-template-columns: 1fr; gap: 32px; }
  .about-band > div { padding: 5px 5px 18px; }
  .page-hero { min-height: 0; padding: 55px 0 72px; grid-template-columns: 1fr; gap: 38px; }
  .page-hero .visual-card { order: -1; }
  .info-band { width: calc(100% - 32px); padding: 45px 20px; }
  .contact-hero, .legal-hero { padding-top: 62px; }
  .blog-hero { padding: 70px 16px 45px; }
  .blog-hero h1 { font-size: 38px; }
  .blog-browser { width: calc(100% - 32px); padding-bottom: 75px; }
  .blog-tools { align-items: stretch; flex-direction: column; }
  .search-box { flex-basis: auto; }
  .category-filters { justify-content: flex-start; }
  .post-grid { grid-template-columns: 1fr; }
  .article-page { width: calc(100% - 32px); padding: 60px 0; }
  .article-header h1 { font-size: 37px; }
  .article-header > p, .article-content { font-size: 15px; }
  .article-content h2 { font-size: 23px; }
  .related-posts { width: calc(100% - 32px); margin-bottom: 75px; }
  .contact-layout { grid-template-columns: 1fr; padding-bottom: 75px; }
  .contact-form, .contact-card { padding: 25px; }
  .legal-document { width: calc(100% - 32px); padding: 25px; margin-bottom: 75px; }
  .legal-contact { flex-direction: column; }
  .footer-inner { padding: 58px 0 45px; grid-template-columns: 1fr; gap: 38px; }
}
