:root {
  --ink: #10233f;
  --ink-soft: #52647c;
  --paper: #f4f7fb;
  --surface: #ffffff;
  --line: #d5deea;
  --accent: #2176e5;
  --accent-dark: #1458b5;
  --navy: #0b1d35;
  --blue-wash: #eaf2ff;
  --radius: 12px;
  --shadow: 0 14px 34px rgba(18, 43, 77, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; padding: .75rem 1rem; background: #fff; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 68px; }
.brand { font-weight: 850; text-decoration: none; letter-spacing: -.03em; }
.brand span { color: var(--accent-dark); }
nav { display: flex; gap: 24px; }
nav a { color: var(--ink-soft); font-weight: 700; text-decoration: none; }
.nav-contact { color: #fff; background: var(--accent); border-radius: 8px; padding: 8px 15px; }
.hero { padding: 76px 0 72px; color: #fff; background: linear-gradient(135deg, #081a31 0%, #123d70 100%); border-bottom: 1px solid #294c75; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(310px, .6fr); gap: 64px; align-items: center; }
.hero .eyebrow { color: #8bbaff; }
.eyebrow { margin: 0 0 12px; color: var(--accent-dark); font-size: .82rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.035em; word-break: keep-all; overflow-wrap: break-word; }
h1 { max-width: 850px; margin: 0 0 24px; font-size: clamp(2.4rem, 4vw, 3.55rem); text-wrap: balance; }
.hero h1 span { display: block; }
h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); }
h3 { font-size: 1.25rem; }
.hero-copy, .page-intro > .shell > p:not(.eyebrow) { max-width: 670px; color: var(--ink-soft); font-size: 1.16rem; }
.hero-copy { color: #c9d7e8; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 20px; padding: 0 22px; color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 8px; font-weight: 800; text-decoration: none; box-shadow: 0 7px 18px rgba(23,105,224,.18); }
.button:hover { background: var(--accent-dark); }
.diagnostic-card { padding: 30px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; box-shadow: none; }
.diagnostic-card span { color: #91baff; font-weight: 800; }
.diagnostic-card ol { margin: 18px 0 0; padding-left: 1.25rem; }
.diagnostic-card li + li { margin-top: 12px; }
.section { padding-top: 84px; padding-bottom: 84px; }
.problem-section { background: #dfe8f3; }
.section-heading { max-width: 720px; margin-bottom: 36px; }
.section-heading h2 { margin: 0; }
.problem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.problem-card { padding: 28px; background: var(--surface); border: 1px solid #c8d4e3; border-radius: var(--radius); transition: border-color .18s ease, box-shadow .18s ease; }
.problem-card:hover { border-color: #8eb5ee; box-shadow: 0 10px 26px rgba(18,43,77,.08); }
.problem-card h2, .problem-card h3 { margin: 4px 0 12px; }
.problem-card h2 a, .problem-card h3 a { text-decoration: none; }
.problem-card p { color: var(--ink-soft); }
.card-category { margin: 0 !important; color: var(--accent-dark) !important; font-size: .82rem; font-weight: 850; }
.text-link { font-weight: 850; text-decoration: none; }
.process-section { background: #07182c; color: #fff; }
.process-section .eyebrow { color: #91baff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #30405d; border: 1px solid #30405d; border-radius: var(--radius); overflow: hidden; }
.steps article { padding: 26px; background: var(--navy); }
.steps strong { color: #91baff; font-size: .85rem; }
.steps h3 { margin: 8px 0; }
.steps p { margin: 0; color: #bdc8da; }
.page-intro { padding: 82px 0 68px; color: #fff; background: linear-gradient(135deg, #0a213d, #174f87); border-bottom: 1px solid #2c5e92; }
.page-intro .eyebrow { color: #9ac2ff; }
.page-intro > .shell > p:not(.eyebrow) { color: #cfdaea; }
.page-intro h1 { font-size: clamp(2.35rem, 5vw, 4rem); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 68px; padding-top: 70px; padding-bottom: 90px; align-items: start; }
.article-body section + section { margin-top: 54px; }
.article-body h2 { margin-top: 0; font-size: 1.72rem; }
.article-body li + li { margin-top: 10px; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.process-list { counter-reset: item; list-style: none; padding: 0; }
.process-list li { counter-increment: item; position: relative; padding: 17px 16px 17px 58px; background: #fff; border-bottom: 1px solid var(--line); }
.process-list li::before { content: counter(item); position: absolute; left: 18px; color: var(--accent-dark); font-weight: 900; }
.side-panel { position: sticky; top: 96px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.side-panel ul { padding-left: 1.25rem; }
.muted { color: var(--ink-soft); font-size: .92rem; }
.button-full { width: 100%; }
.empty-note { padding: 34px; background: #fff; border: 1px dashed #aab6ca; border-radius: var(--radius); }
.category-contact { padding-bottom: 84px; }
.contact-section { padding: 78px 0; color: #fff; background: #102743; border-top: 4px solid var(--accent); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: 64px; align-items: start; }
.contact-section h2 { margin: 0 0 18px; }
.contact-section .eyebrow { color: #91baff; }
.contact-copy { max-width: 650px; color: #c5d0e2; }
.meeting-notice { max-width: 650px; margin-top: 20px; padding: 16px 18px; color: #fff; background: rgba(255,255,255,.07); border-left: 3px solid #76a9f2; border-radius: 0 8px 8px 0; }
.contact-business { display: flex; gap: 14px; margin-top: 26px; font-size: 1.08rem; font-weight: 800; }
.contact-business span { color: #91baff; font-size: .88rem; letter-spacing: .06em; }
.contact-channels { display: grid; gap: 12px; }
.contact-primary { padding: 26px; color: var(--ink); background: #fff; border: 1px solid #d7e1ee; border-radius: 12px; box-shadow: 0 16px 38px rgba(4,18,38,.18); }
.contact-primary h3 { margin: 4px 0 10px; font-size: 1.34rem; }
.contact-primary > p:not(.contact-status):not(.consent-guide) { margin: 0; color: var(--ink-soft); }
.contact-status { margin: 0; color: var(--accent-dark); font-size: .8rem; font-weight: 850; letter-spacing: .07em; }
.contact-form-button { width: 100%; margin-top: 20px; gap: 8px; }
.consent-guide { margin: 12px 0 0; color: var(--ink-soft); font-size: .88rem; }
.privacy-details { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.privacy-details summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink); font-weight: 800; cursor: pointer; list-style: none; }
.privacy-details summary::-webkit-details-marker { display: none; }
.privacy-details summary::after { content: "+"; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; color: var(--accent-dark); background: var(--blue-wash); border-radius: 6px; font-size: 1.15rem; }
.privacy-details[open] summary::after { content: "−"; }
.details-action { margin-left: auto; color: var(--ink-soft); font-size: .84rem; font-weight: 700; }
.privacy-details dl { margin: 18px 0 0; }
.privacy-details dl div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid #e8edf4; }
.privacy-details dt { color: var(--ink-soft); font-size: .86rem; font-weight: 750; }
.privacy-details dd { margin: 0; font-size: .9rem; }
.privacy-details > p { margin: 12px 0 0; color: var(--ink-soft); font-size: .84rem; }
.contact-channel, .contact-pending { display: flex; justify-content: space-between; gap: 20px; padding: 19px 22px; color: var(--ink); background: #fff; border: 1px solid #d7e1ee; border-radius: 10px; text-decoration: none; }
.contact-channel:hover { outline: 3px solid rgba(118,169,242,.45); }
.contact-channel span { color: var(--ink-soft); text-align: right; }
.contact-pending { display: block; background: #e9eef7; }
.contact-pending p { margin: 6px 0 0; color: var(--ink-soft); }
.floating-contact { position: fixed; right: 22px; bottom: 22px; z-index: 20; display: flex; align-items: center; gap: 6px; padding: 6px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(9,20,41,.20); backdrop-filter: blur(10px); }
.floating-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: none; font-size: .93rem; font-weight: 800; text-decoration: none; transition: background .18s ease, border-color .18s ease; }
.floating-button:hover, .floating-button:focus-visible { border-color: #8eb5ee; outline: 3px solid rgba(23,105,224,.16); }
.floating-main { color: #fff; background: var(--accent); border-color: var(--accent); }
.floating-kakao { color: #191919; background: #fee500; border-color: #fee500; }
.site-footer { padding: 38px 0; color: #bdc8da; background: #091429; }
.footer-inner p { margin: 0; }

@media (max-width: 820px) {
  .hero-grid, .article-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .side-panel { position: static; }
}
@media (max-width: 560px) {
  body { padding-bottom: 64px; }
  .shell, .narrow { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 62px; }
  nav { gap: 14px; font-size: .88rem; }
  .site-header nav a:not(.nav-contact) { display: none; }
  .floating-contact { right: 12px; bottom: 12px; left: auto; display: flex; padding: 5px; }
  .floating-contact .floating-kakao { display: none; }
  .floating-button { min-width: 94px; min-height: 46px; padding: 0 15px; font-size: .92rem; }
  .hero, .page-intro { padding-top: 52px; padding-bottom: 52px; }
  h1 { font-size: 2.12rem; line-height: 1.22; }
  .hero-copy, .page-intro > .shell > p:not(.eyebrow) { font-size: 1.04rem; }
  .diagnostic-card { padding: 24px; }
  .problem-grid, .steps { grid-template-columns: 1fr; }
  .section { padding-top: 62px; padding-bottom: 62px; }
  .contact-primary { padding: 22px; }
  .privacy-details dl div { grid-template-columns: 1fr; gap: 2px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .problem-card { transition: none; }
}
