/* ==========================================================================
   NOTICE LAB — 노티스랩 공식 홈페이지 / 인사이트
   네이비(#0F172A) · 화이트 · 코랄(#F97362) · 블루(#2563EB)
   ========================================================================== */

:root {
  --navy: #0f172a;
  --navy-800: #131f38;
  --navy-700: #1e293b;
  --ink: #0f172a;
  --body: #3b4759;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --bg: #ffffff;
  --soft: #f8fafc;
  --coral: #f97362;
  --coral-dark: #e0553f;
  --coral-soft: #fff1ee;
  --blue: #2563eb;
  --blue-soft: #eef4ff;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 30px -18px rgba(15, 23, 42, .22);
  --shadow-md: 0 30px 60px -34px rgba(15, 23, 42, .38);
  --wrap: 1120px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.035em;
  word-break: keep-all;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(15, 23, 42, .5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 6px 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--navy);
  box-shadow: 0 6px 16px -10px rgba(15, 23, 42, .9);
}
.brand-mark svg { width: 18px; height: 18px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--ink);
}
.brand-text span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav-link {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  transition: background .16s ease, color .16s ease;
}
.site-nav-link:hover { background: var(--soft); color: var(--ink); }
.site-nav-link.is-active { color: var(--ink); font-weight: 700; }
.site-nav-link.is-active::after {
  content: "";
  display: block;
  height: 2px;
  margin: 6px auto -8px;
  width: 18px;
  border-radius: 2px;
  background: var(--coral);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span:first-child { transform: translate(-50%, -6px); }
.nav-toggle span:last-child { transform: translate(-50%, 6px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 16px 30px -18px rgba(249, 115, 98, .9);
}
.btn--primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); }
.btn--outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--navy); transform: translateY(-1px); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--nav { padding: 10px 18px; font-size: 14px; margin-left: 6px; }

/* ---------------------------------------------------------------- type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-dark);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--coral);
  border-radius: 2px;
}
.eyebrow--light { color: #ffb3a6; }
.h2 {
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.26;
}
.lede {
  margin-top: 18px;
  font-size: 17px;
  color: var(--body);
  max-width: 62ch;
}
.section-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #e8edf6;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(37, 99, 235, .5), transparent 62%),
    radial-gradient(700px 380px at 8% 110%, rgba(249, 115, 98, .32), transparent 60%);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 96px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.hero h1 em {
  font-style: normal;
  color: var(--coral);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: rgba(249, 115, 98, .22);
  border-radius: 6px;
  z-index: -1;
}
.hero-copy { min-width: 0; }

.hero-lede {
  margin-top: 24px;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(232, 237, 246, .82);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13.5px;
  color: rgba(232, 237, 246, .68);
}
.hero-facts li { display: flex; align-items: baseline; gap: 8px; }
.hero-facts strong {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-panel {
  position: relative;
  padding: 26px 26px 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
  backdrop-filter: blur(6px);
}
.hero-panel-title {
  font-size: 13px;
  letter-spacing: .06em;
  color: rgba(232, 237, 246, .72);
  margin-bottom: 20px;
}
.flow { display: grid; gap: 0; }
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  grid-template-areas: "dot name" "dot desc";
  column-gap: 14px;
  padding: 12px 0;
}
.flow-step + .flow-step { border-top: 1px dashed rgba(255, 255, 255, .12); }
.flow-dot {
  grid-area: dot;
  position: relative;
  width: 12px; height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(249, 115, 98, .16);
}
.flow-step:nth-child(2) .flow-dot { background: #7aa7ff; box-shadow: 0 0 0 5px rgba(122, 167, 255, .16); }
.flow-step:nth-child(3) .flow-dot { background: #a5b4fc; box-shadow: 0 0 0 5px rgba(165, 180, 252, .14); }
.flow-step:nth-child(4) .flow-dot { background: #e8edf6; box-shadow: 0 0 0 5px rgba(232, 237, 246, .12); }
.flow-step strong {
  grid-area: name;
  color: #fff;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.flow-step span:last-child {
  grid-area: desc;
  font-size: 13.5px;
  color: rgba(232, 237, 246, .62);
}
.hero-panel-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  color: rgba(232, 237, 246, .66);
}

/* ---------------------------------------------------------------- sections */
.section { padding: 88px 0; }
.section--soft { background: var(--soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section--tight { padding: 40px 0 88px; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 40px;
}
.section-desc {
  max-width: 34ch;
  font-size: 15px;
  color: var(--muted);
}

/* problem */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 40px;
}
.problem-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.problem-card h3 { font-size: 21px; margin-bottom: 12px; }
.problem-card p { font-size: 15.5px; color: var(--body); }
.problem-card ul {
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  color: var(--muted);
}
.problem-card li { position: relative; padding-left: 20px; }
.problem-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--line);
}
.problem-q {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.problem-card--muted { background: #fbfcfe; }
.problem-card--muted h3 { color: var(--muted); }
.problem-card--accent {
  border-color: rgba(249, 115, 98, .35);
  background: linear-gradient(170deg, #fff, var(--coral-soft));
  box-shadow: var(--shadow-sm);
}
.problem-card--accent::before {
  content: "";
  position: absolute;
  left: 0; top: 28px; bottom: 28px;
  width: 4px;
  border-radius: 4px;
  background: var(--coral);
}
.problem-card--accent li::before { background: var(--coral); }

/* services */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.service {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #cbd5e1; }
.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
}
.service-icon svg { width: 23px; height: 23px; }
.service:nth-child(2) .service-icon { background: var(--coral-soft); color: var(--coral-dark); }
.service-no {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #b6c2d4;
}
.service-title { font-size: 20px; }
.service-summary { margin-top: 12px; font-size: 15px; color: var(--body); }
.service-points {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}
.service-points li { padding-left: 16px; position: relative; }
.service-points li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--coral);
  font-weight: 700;
}

.principle {
  position: relative;
  margin-top: 22px;
  padding: 30px 32px 30px 36px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #dbe4f2;
  overflow: hidden;
}
.principle::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--coral);
}
.principle h3 {
  color: #fff;
  font-size: 17px;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.principle h3 span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(249, 115, 98, .16);
  color: #ffb3a6;
}
.principle p { margin-top: 12px; font-size: 15.5px; color: rgba(219, 228, 242, .86); max-width: 76ch; }
.principle strong { color: #fff; box-shadow: inset 0 -8px 0 rgba(249, 115, 98, .22); }

/* region */
.region-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: start;
}
.region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.region-chips li {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--body);
  background: #fff;
}
.region-chips li:nth-child(-n+5) {
  border-color: rgba(37, 99, 235, .25);
  background: var(--blue-soft);
  color: #1d4ed8;
  font-weight: 600;
}
.region-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfcfe);
  box-shadow: var(--shadow-sm);
}
.region-card h3 { font-size: 17px; margin-bottom: 16px; }
.region-card ul { display: grid; gap: 11px; font-size: 14.5px; color: var(--body); }
.region-card li { display: flex; gap: 10px; align-items: flex-start; }
.region-card li::before {
  content: "✓";
  color: var(--coral);
  font-weight: 700;
  line-height: 1.5;
}
.region-card .btn { margin-top: 22px; width: 100%; }

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cards--list { grid-template-columns: repeat(3, 1fr); }
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.card-media {
  display: block;
  aspect-ratio: 3 / 2;
  background: var(--soft);
  overflow: hidden;
}
.card-media picture, .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media img { transition: transform .45s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.card-meta time { font-variant-numeric: tabular-nums; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  background: var(--soft);
  color: var(--muted);
  white-space: nowrap;
}
.badge--검색형 { background: var(--blue-soft); color: #1d4ed8; }
.badge--홈판형 { background: #f3f1ff; color: #5b45c9; }
.badge--상담전환형 { background: var(--coral-soft); color: var(--coral-dark); }
.card-title { font-size: 18.5px; line-height: 1.42; letter-spacing: -0.02em; }
.card-title a:hover { color: var(--blue); }
.card-text {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.card-link:hover { color: var(--coral-dark); }
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--coral);
  padding-bottom: 4px;
}
.section-actions { margin-top: 34px; }

/* cta band */
.cta-band {
  position: relative;
  padding: 84px 0;
  background: var(--navy);
  color: #e8edf6;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 85% 15%, rgba(249, 115, 98, .28), transparent 62%),
    radial-gradient(600px 300px at 5% 100%, rgba(37, 99, 235, .34), transparent 60%);
}
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(25px, 3.6vw, 36px); max-width: 26ch; }
.cta-band p { margin-top: 16px; color: rgba(232, 237, 246, .8); max-width: 56ch; }
.cta-band .btn { margin-top: 30px; }
.cta-note { margin-top: 14px !important; font-size: 13px; color: rgba(232, 237, 246, .55) !important; }

/* ---------------------------------------------------------------- page hero */
.page-hero {
  background: var(--navy);
  color: #dfe7f3;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 320px at 86% -20%, rgba(37, 99, 235, .42), transparent 62%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 44px); margin-top: 16px; }
.page-hero .lede { color: rgba(223, 231, 243, .82); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(223, 231, 243, .6);
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-current] { color: rgba(223, 231, 243, .9); }
.cat-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  font-size: 13.5px;
  color: rgba(223, 231, 243, .62);
}
.cat-notes strong { color: #fff; font-weight: 600; margin-right: 6px; }

/* filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: #cbd5e1; }
.chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: 600;
}
.chip-count { font-size: 12px; opacity: .6; font-variant-numeric: tabular-nums; }
.filter-status {
  margin: 10px 0 26px;
  font-size: 13.5px;
  color: var(--muted);
}
.load-more { margin: 34px auto 0; display: flex; }
.empty-state {
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ---------------------------------------------------------------- post */
.post-hero {
  background: var(--navy);
  color: #dfe7f3;
  padding: 44px 0 56px;
  position: relative;
  overflow: hidden;
}
.post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(760px 340px at 80% -30%, rgba(37, 99, 235, .38), transparent 64%);
}
.post-hero-inner { position: relative; max-width: 860px; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 13px;
  color: rgba(223, 231, 243, .62);
}
.post-meta .badge { background: rgba(255, 255, 255, .1); color: #fff; }
.post-title {
  margin-top: 16px;
  color: #fff;
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.04em;
  max-width: 30ch;
}
.post-lede {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(223, 231, 243, .82);
  max-width: 60ch;
}
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 262px;
  gap: 56px;
  padding-top: 52px;
  padding-bottom: 88px;
  align-items: start;
}
.post-main { min-width: 0; }
.post-cover-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 40px;
  background: var(--soft);
}
.article { font-size: 17px; line-height: 1.85; color: var(--body); }
.article > * + * { margin-top: 22px; }
.article h2 {
  margin-top: 54px;
  font-size: clamp(22px, 3vw, 27px);
  letter-spacing: -0.03em;
  line-height: 1.4;
  scroll-margin-top: 96px;
}
.article h3 {
  margin-top: 36px;
  font-size: 19px;
  line-height: 1.45;
  scroll-margin-top: 96px;
}
.article h4 { margin-top: 28px; font-size: 17px; }
.article p { color: var(--body); }
.article strong { color: var(--ink); font-weight: 700; }
.article a {
  color: #1d4ed8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article a:hover { color: var(--coral-dark); }
.article code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: .92em;
}
.article ul, .article ol { display: grid; gap: 10px; padding-left: 4px; }
.article ul li { position: relative; padding-left: 20px; }
.article ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: .72em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--coral);
}
.article ol { counter-reset: step; }
.article ol li {
  position: relative;
  padding-left: 34px;
  counter-increment: step;
}
.article ol li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: .28em;
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--blue-soft);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}
.article blockquote {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--soft);
}
.article blockquote p { font-size: 16px; color: var(--ink); }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
.article .anchor {
  margin-left: 8px;
  color: #cbd5e1;
  font-weight: 400;
  text-decoration: none;
  opacity: 0;
  transition: opacity .15s ease;
}
.article h2:hover .anchor, .article h3:hover .anchor, .article .anchor:focus { opacity: 1; }
.post-figure { margin: 34px 0; }
.post-figure-img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: #fff;
}
.post-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* cta box */
.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 40px 0;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--navy), #1b2a45);
  color: #dfe7f3;
}
.cta-box-text { flex: 1 1 320px; min-width: 0; }

.cta-box-kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #ffb3a6;
  text-transform: uppercase;
}
.cta-box-title {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  max-width: 52ch;
}
.cta-box-sub { margin-top: 8px; font-size: 13.5px; color: rgba(223, 231, 243, .6); }
.cta-box .btn { flex: 0 0 auto; }
.cta-box--top { margin-top: 0; }
.cta-box--bottom { margin-bottom: 8px; }

/* toc */
.post-aside { position: sticky; top: 96px; }
.toc {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.toc-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.toc-list { display: grid; gap: 2px; counter-reset: toc; }
.toc-list li { counter-increment: toc; }
.toc-list a {
  display: block;
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  border-left: 2px solid var(--line-soft);
  transition: color .15s ease, border-color .15s ease;
}
.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 10px;
  font-size: 10.5px;
  color: #b6c2d4;
  font-variant-numeric: tabular-nums;
}
.toc-list a:hover, .toc-list a.is-active { color: var(--ink); border-left-color: var(--coral); }
.toc-cta {
  display: block;
  margin-top: 18px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.toc-cta:hover { border-color: var(--navy); }

/* related */
.related { margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--line); }
.related-title { font-size: 20px; margin-bottom: 22px; }
.related .cards { grid-template-columns: 1fr 1fr; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: #0b1220;
  color: rgba(223, 231, 243, .66);
  padding: 58px 0 30px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .7fr 1.2fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: rgba(223, 231, 243, .5); }
.footer-slogan {
  margin-top: 16px;
  font-size: 14.5px;
  color: rgba(223, 231, 243, .8);
  max-width: 28ch;
  line-height: 1.6;
}
.footer-cta { margin-top: 18px; display: inline-flex; }
.site-footer h2 {
  color: #fff;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-links { display: grid; gap: 8px; }
.footer-links a:hover { color: #fff; }
.biz { display: grid; gap: 6px; line-height: 1.7; }
.biz div { display: flex; gap: 8px; }
.biz dt { color: rgba(223, 231, 243, .45); flex: 0 0 auto; min-width: 84px; }
.biz dd { margin: 0; color: rgba(223, 231, 243, .72); }
.ph {
  color: #ffb3a6;
  border-bottom: 1px dashed rgba(255, 179, 166, .5);
  font-style: normal;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(223, 231, 243, .42);
}

/* ---------------------------------------------------------------- 404 */
.notfound {
  padding: 110px 0 130px;
  text-align: center;
}
.notfound-code {
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--coral-dark);
  font-weight: 700;
}
.notfound h1 { margin-top: 14px; font-size: clamp(28px, 4.4vw, 40px); }
.notfound p { margin: 16px auto 0; max-width: 44ch; color: var(--muted); }
.notfound .hero-actions { justify-content: center; margin-top: 30px; }
.notfound .btn--ghost { border-color: var(--line); color: var(--ink); }
.notfound .btn--ghost:hover { background: var(--soft); border-color: #cbd5e1; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 72px; }
  .hero-panel { max-width: 460px; }
  .post-layout { grid-template-columns: 1fr; gap: 34px; }
  .post-aside { position: static; order: -1; }
  .toc { padding: 18px; }
  .toc-list { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .toc-cta { display: none; }
  .region-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .cards, .cards--list { grid-template-columns: 1fr 1fr; }
  .services, .problem-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section--tight { padding: 24px 0 64px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .header-inner { min-height: 64px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    left: 0; right: 0; top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(15, 23, 42, .5);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav-link { padding: 13px 12px; font-size: 16px; }
  .site-nav-link.is-active::after { margin: 4px 0 0; }
  .btn--nav { margin: 8px 0 0; }
  .hero h1 { font-size: clamp(34px, 9vw, 44px); }
  .hero-facts { gap: 8px 18px; font-size: 12.5px; }
  .cards, .cards--list { grid-template-columns: 1fr; }
  .related .cards { grid-template-columns: 1fr; }
  .card-media { aspect-ratio: 16 / 10; }
  .post-hero { padding: 34px 0 44px; }
  .post-layout { padding-top: 32px; padding-bottom: 56px; }
  .toc-list { grid-template-columns: 1fr; }
  .article h2 { margin-top: 44px; }
  .cta-box { padding: 22px; }
  .cta-box .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .biz div { flex-direction: column; gap: 0; }
  .biz dt { min-width: 0; font-size: 12px; }
  .section-head { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .card:hover { transform: none; }
  .card:hover .card-media img { transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .cta-box, .post-aside, .related, .hero-actions { display: none; }
  body { color: #000; font-size: 12pt; }
  .post-hero { background: none; color: #000; padding: 0 0 18pt; }
  .post-hero h1, .post-title, .post-lede { color: #000; }
  .article a { color: #000; text-decoration: underline; }
}

/* hidden 속성이 레이아웃 규칙보다 우선하도록 */
[hidden] { display: none !important; }
