@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');

:root {
  --brand: #3d5afe;
  --brand-deep: #2844d8;
  --ink: #191f2c;
  --muted: #687386;
  --line: #e9ecf2;
  --soft: #f5f7ff;
  --soft-strong: #e9edff;
  --green: #059669;
  --page: #fff;
  --rail: 760px;
  --wide: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; }
img { max-width: 100%; }

.reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  z-index: 200;
  background: linear-gradient(90deg, var(--brand), #8da0ff);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(229,232,240,.9);
  backdrop-filter: blur(16px);
}
.site-header__inner {
  width: min(1180px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand img { width: 92px; height: auto; display: block; }
.brand__section {
  padding-left: 11px;
  border-left: 1px solid #dfe3eb;
  color: #566071;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.header-nav { display: flex; align-items: center; gap: 10px; }
.header-nav a {
  padding: 9px 13px;
  color: #596375;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
}
.header-nav a:hover { color: var(--brand); background: var(--soft); }
.header-nav .header-cta { color: #fff; background: var(--brand); }
.header-nav .header-cta:hover { color: #fff; background: var(--brand-deep); }

.article-hero {
  width: min(var(--wide), calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 42px;
  text-align: center;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
  color: #8992a1;
  font-size: 12px;
  font-weight: 700;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.article-tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--brand);
  background: #edf0ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -.01em;
}
.article-hero h1 {
  max-width: 820px;
  margin: 20px auto 16px;
  color: #151b27;
  font-size: clamp(34px, 5.1vw, 55px);
  line-height: 1.22;
  letter-spacing: -.045em;
}
.article-subtitle {
  max-width: 680px;
  margin: 0 auto;
  color: #657083;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
  letter-spacing: -.018em;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  color: #929aaa;
  font-size: 12px;
  font-weight: 650;
}
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #cdd2dc; }
.author-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-size: 11px;
  font-weight: 900;
}
.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 0 1px #e5e9f2;
}

.hero-visual {
  width: min(var(--wide), calc(100% - 40px));
  margin: 0 auto 62px;
}
.hero-visual img,
.article-figure img {
  display: block;
  width: 100%;
  border: 1px solid #e8ebf3;
  border-radius: 22px;
  background: #f2f4ff;
  box-shadow: 0 22px 54px rgba(48,67,150,.1);
}

.article-body {
  width: min(var(--rail), calc(100% - 40px));
  margin: 0 auto;
  color: #313948;
  font-size: 17px;
  line-height: 1.92;
  letter-spacing: -.015em;
}
.article-body p { margin: 0 0 22px; }
.article-body strong { color: #222a38; font-weight: 800; }
.article-body h2 {
  margin: 74px 0 22px;
  color: #161d29;
  font-size: clamp(25px, 3.5vw, 32px);
  line-height: 1.42;
  letter-spacing: -.035em;
}
.article-body h3 {
  margin: 42px 0 16px;
  color: #1c2431;
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -.025em;
}
.lead { font-size: 18px; line-height: 1.92; color: #485365; }
.pullquote {
  margin: 42px 0;
  padding: 24px 26px;
  border-left: 4px solid var(--brand);
  border-radius: 0 16px 16px 0;
  background: #f6f7ff;
  color: #2b3b73;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.7;
}

.steps, .check-list { list-style: none; margin: 28px 0; padding: 0; }
.steps { display: grid; gap: 12px; }
.steps li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  line-height: 1.65;
}
.step-num {
  display: inline-grid;
  place-items: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 900;
}
.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 31px; }
.check-list li::before {
  content: '✓';
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  color: var(--brand);
  background: #edf0ff;
  font-size: 12px;
  font-weight: 900;
}

.article-figure {
  width: min(var(--wide), calc(100vw - 40px));
  margin: 46px 50% 14px;
  transform: translateX(-50%);
}
.zoom-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.zoom-button::after {
  content: '크게 보기';
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(23,30,45,.78);
  font: 700 11px/1 'Noto Sans KR', sans-serif;
  opacity: 0;
  transition: opacity .18s;
}
.zoom-button:hover::after, .zoom-button:focus-visible::after { opacity: 1; }
.figure-caption {
  width: min(var(--wide), calc(100vw - 40px));
  margin: 0 50% 34px;
  transform: translateX(-50%);
  color: #8a93a2;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.65;
  text-align: center;
}

.callout {
  margin: 32px 0;
  padding: 23px 24px;
  border: 1px solid #dfe4ff;
  border-radius: 17px;
  background: #f7f8ff;
  color: #3e4960;
  font-size: 15px;
  line-height: 1.78;
}
.callout__label {
  display: block;
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}
.warning { border-color: #fee2e2; background: #fff8f8; }
.warning .callout__label { color: #dc2626; }

.scope-table {
  width: 100%;
  margin: 28px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
}
.scope-table th, .scope-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.scope-table th { color: #4e596b; background: #f7f8fb; font-weight: 850; }
.scope-table td:first-child { width: 29%; color: #2c3544; font-weight: 800; }
.scope-table tr:last-child td { border-bottom: 0; }

.summary-box {
  margin: 72px 0 36px;
  padding: 30px;
  border-radius: 22px;
  background: #f4f6ff;
}
.summary-box h2 { margin: 0 0 18px; font-size: 25px; }
.summary-box .check-list { margin-bottom: 0; }

.faq-list { margin: 26px 0 0; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 20px 40px 20px 0;
  color: #202837;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  top: 19px;
  right: 4px;
  color: var(--brand);
  font-size: 23px;
  font-weight: 500;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: -4px 0 22px; color: #626d7f; font-size: 15px; line-height: 1.8; }

.cta-box {
  width: min(900px, calc(100% - 40px));
  margin: 80px auto;
  padding: 48px 42px;
  overflow: hidden;
  position: relative;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #263fd0 0%, #3d5afe 58%, #7388ff 100%);
  text-align: center;
  box-shadow: 0 24px 58px rgba(61,90,254,.25);
}
.cta-box::before, .cta-box::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-box::before { width: 220px; height: 220px; right: -80px; top: -100px; }
.cta-box::after { width: 150px; height: 150px; left: -60px; bottom: -80px; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box .eyebrow { color: #d9dfff; font-size: 12px; font-weight: 900; }
.cta-box h2 { margin: 10px 0 13px; font-size: clamp(25px, 4vw, 34px); letter-spacing: -.035em; }
.cta-box p { margin: 0 auto; max-width: 580px; color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.75; }
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 14px 22px;
  border-radius: 13px;
  color: var(--brand);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(20,30,90,.18);
}
.cta-button:hover { transform: translateY(-1px); }

.article-signoff {
  margin: 52px 0 0;
  color: #798394;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}
.article-note {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #969dab;
  font-size: 11px;
  line-height: 1.7;
}

.site-footer { margin-top: 90px; border-top: 1px solid var(--line); background: #fafbfc; }
.site-footer__inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
.footer-brand img { width: 84px; }
.footer-brand p { margin: 12px 0 0; color: #939baa; font-size: 11px; line-height: 1.7; }
.footer-links { display: flex; gap: 16px; color: #707989; font-size: 12px; font-weight: 700; }
.footer-links a { text-decoration: none; }

dialog.image-dialog {
  width: min(1280px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: visible;
  background: transparent;
}
dialog.image-dialog::backdrop { background: rgba(14,19,30,.82); backdrop-filter: blur(4px); }
.image-dialog img { display: block; width: 100%; border-radius: 20px; background: #f3f5ff; }
.dialog-close {
  position: absolute;
  top: -14px;
  right: -8px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #202638;
  background: #fff;
  font-size: 21px;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
}

.magazine-home { min-height: 70vh; }
.magazine-home__hero {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 46px;
}
.magazine-home__hero .kicker { color: var(--brand); font-size: 13px; font-weight: 900; }
.magazine-home__hero h1 { margin: 10px 0 12px; font-size: clamp(36px, 6vw, 60px); letter-spacing: -.05em; }
.magazine-home__hero p { margin: 0; color: #6c7585; font-size: 17px; line-height: 1.75; }
.magazine-home-banner { display: block; width: min(680px, calc(100% - 40px)); margin: 0 auto 42px; text-decoration: none; }
.magazine-home-banner img { display: block; width: 100%; height: auto; border-radius: 18px; }
.magazine-home-banner:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; border-radius: 20px; }
.article-grid { width: min(1100px, calc(100% - 40px)); margin: 0 auto 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(42,55,110,.1); }
.article-card img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; background: var(--soft); }
.article-card__body { padding: 22px; }
.article-card__tag { color: var(--brand); font-size: 11px; font-weight: 900; }
.article-card h2 { margin: 10px 0 9px; color: var(--ink); font-size: 21px; line-height: 1.45; letter-spacing: -.03em; }
.article-card p { margin: 0; color: #768091; font-size: 13px; line-height: 1.7; }
.article-card__meta { margin-top: 17px; color: #a0a7b2; font-size: 11px; font-weight: 700; }

@media (max-width: 760px) {
  .site-header { height: 58px; }
  .site-header__inner { width: min(100% - 28px, 1180px); }
  .brand img { width: 84px; }
  .brand__section { font-size: 12px; }
  .header-nav a:not(.header-cta) { display: none; }
  .header-nav .header-cta { padding: 8px 11px; font-size: 11px; }
  .article-hero { width: min(100% - 32px, var(--wide)); padding-top: 42px; }
  .breadcrumb { margin-bottom: 20px; }
  .article-hero h1 { margin-top: 17px; font-size: 35px; line-height: 1.26; }
  .article-subtitle { font-size: 15px; }
  .hero-visual { width: min(100% - 24px, var(--wide)); margin-bottom: 46px; }
  .hero-visual img, .article-figure img { border-radius: 15px; }
  .article-body { width: min(100% - 36px, var(--rail)); font-size: 16px; line-height: 1.88; }
  .article-body h2 { margin-top: 60px; font-size: 26px; }
  .lead { font-size: 17px; }
  .pullquote { margin: 34px 0; padding: 20px 20px; font-size: 17px; }
  .article-figure, .figure-caption { width: calc(100vw - 24px); }
  .article-figure { margin-top: 38px; }
  .scope-table { display: block; overflow-x: auto; white-space: normal; }
  .scope-table th, .scope-table td { min-width: 128px; padding: 12px; }
  .cta-box { width: calc(100% - 24px); margin-top: 64px; padding: 38px 24px; border-radius: 22px; }
  .site-footer__inner { flex-direction: column; }
  .article-grid { grid-template-columns: 1fr; }
  .magazine-home__hero { padding-top: 52px; }
  .zoom-button::after { opacity: .8; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* 우리봐라 컬럼 규격: 실제 컬럼의 720px 레일과 간격 체계를 그대로 사용합니다. */
.column-page { padding-top: 60px; }
.column-page .site-header {
  position: fixed;
  inset: 0 0 auto;
  height: 60px;
  background: rgba(255,255,255,.88);
  border-bottom-color: #f1f3f5;
}
.column-page .site-header__inner {
  width: 100%;
  padding: 0 16px;
  margin: 0;
  justify-content: flex-start;
  gap: 8px;
}
.column-back {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  color: #1f2937;
  text-decoration: none;
}
.column-back:hover { background: #f4f6ff; }
.column-header-title {
  margin-left: 2px;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.015em;
  text-decoration: none;
}
.top-brand-banner {
  display: block;
  width: min(720px, 100%);
  margin: 32px auto 0;
  padding: 0 20px;
  text-decoration: none;
}
.top-brand-banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  background: #f4f6ff;
}
.top-brand-banner:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 16px; }
.column-page .article-hero {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 32px 20px 0;
  text-align: left;
}
.column-tag { display: inline-flex; align-items: center; gap: 6px; }
.column-tag > span { display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }
.column-tag strong { color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: -.01em; }
.column-page .article-hero h1 {
  max-width: none;
  margin: 12px 0 0;
  color: #111827;
  font-size: 28px;
  line-height: 1.28;
  letter-spacing: -.03em;
  font-weight: 800;
}
.column-page .article-subtitle {
  max-width: none;
  margin: 16px 0 0;
  color: #4e5968;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -.015em;
  font-weight: 500;
}
.column-page .article-meta {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 28px;
  color: #8b95a1;
  font-size: 13px;
  font-weight: 500;
}
.column-page .article-meta > span:nth-of-type(1) { color: #111827; font-weight: 700; }
.column-page .author-avatar { width: 32px; height: 32px; border-radius: 50%; background: #f4f6ff; box-shadow: 0 0 0 1px #e4eaff; }
.column-page .hero-visual {
  width: min(720px, 100%);
  margin: 32px auto 0;
  padding: 0 20px;
}
.column-page .hero-visual picture, .column-page .article-figure picture { display: block; }
.column-page .hero-visual img, .column-page .article-figure img {
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
}
.column-page .article-body {
  width: min(720px, 100%);
  margin: 40px auto 0;
  padding: 0 20px;
  color: #2b3240;
  font-size: 16.5px;
  line-height: 1.85;
  letter-spacing: -.014em;
}
.column-page .article-body p { margin: 20px 0 0; }
.column-page .article-body > p:first-child { margin-top: 0; }
.column-page .lead { color: #2b3240; font-size: inherit; line-height: inherit; }
.column-page .article-body h2 {
  margin: 56px 0 20px;
  color: #111827;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.025em;
  font-weight: 800;
}
.column-page .article-body h3 {
  margin: 40px 0 16px;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.022em;
  font-weight: 800;
}
.column-page .pullquote {
  margin: 32px 0;
  padding: 0 0 0 20px;
  border-left: 3px solid var(--brand);
  border-radius: 0;
  background: transparent;
  color: #111827;
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -.02em;
}
.column-page .steps { margin: 24px 0; gap: 12px; }
.column-page .steps li { padding: 0; border: 0; border-radius: 0; line-height: 1.65; }
.column-page .step-num { width: 20px; height: 20px; flex-basis: 20px; margin-top: 6px; font-size: 11px; }
.column-page .check-list { margin: 24px 0; }
.column-page .article-figure {
  width: 100%;
  max-width: 100%;
  margin: 40px 0 0;
  transform: none;
  overflow: hidden;
}
.column-page .article-figure .zoom-button,
.column-page .article-figure picture,
.column-page .article-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
}
.column-page .article-figure img { height: auto; }
.column-page .figure-caption {
  width: 100%;
  margin: 10px 0 32px;
  transform: none;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: -.01em;
}
.column-page .callout { margin: 24px 0; padding: 16px; border-radius: 14px; font-size: 15px; line-height: 1.65; }
.column-page .summary-box { margin: 56px 0 28px; padding: 24px; border-radius: 18px; }
.column-page .summary-box h2 { margin: 0 0 16px; font-size: 22px; }
.column-page + * { box-sizing: border-box; }
.column-page .cta-box { width: min(680px, calc(100% - 40px)); margin: 56px auto 0; padding: 24px; border-radius: 18px; }
.column-page .site-footer { margin-top: 80px; }

@media (min-width: 1024px) {
  .column-page .site-header__inner { padding-left: 40px; padding-right: 40px; }
  .column-page .top-brand-banner { margin-top: 48px; }
  .column-page .article-hero { padding-top: 64px; }
  .column-page .article-hero h1 { font-size: 42px; }
  .column-page .article-subtitle { font-size: 17px; }
  .column-page .hero-visual { margin-top: 48px; }
  .column-page .article-body { margin-top: 56px; font-size: 18px; }
  .column-page .article-body h2 { font-size: 28px; }
  .column-page .article-body h3 { font-size: 22px; }
  .column-page .pullquote { font-size: 22px; }
}

@media (max-width: 640px) {
  .column-page .hero-visual img, .column-page .article-figure img { height: auto; aspect-ratio: auto; }
  .column-page .zoom-button::after { right: 10px; bottom: 10px; }
}
