/* ============================================================
   INSA MEDI AI — Design System v2
   블로그/매거진 아티클 · INSA 브랜드 컬러 · Pretendard 고딕
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  /* Brand palette (from INSA color spec) */
  --insa-red:       #E4002B;   /* PANTONE 185C · Main Color */
  --insa-red-dark:  #B10021;
  --insa-black:     #08080B;   /* K100 · Or Used */
  --insa-grey-70:   #4D4D4D;
  --insa-grey-50:   #808080;   /* Grey 50% · Or Used */
  --insa-grey-30:   #B3B3B3;
  --insa-grey-15:   #DADCE0;
  --insa-grey-08:   #EDEEF0;
  --insa-grey-04:   #F6F7F8;

  /* Semantic */
  --ink:      var(--insa-black);
  --ink-2:    #26262A;
  --ink-3:    #4D4D4D;
  --muted:    var(--insa-grey-50);
  --rule:     var(--insa-grey-15);
  --rule-2:   var(--insa-grey-08);
  --paper:    #FFFFFF;
  --paper-2:  var(--insa-grey-04);
  --paper-3:  var(--insa-grey-08);
  --accent:   var(--insa-red);
  --ink-inv:  #FFFFFF;

  /* Type */
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --page-max: 1280px;
  --article-max: 780px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv01';
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; font-family: inherit; }

/* ---- Type ---- */
.mono, .mono-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-family: var(--sans); }
h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.08; letter-spacing: -0.032em; font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
h4 { font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0; }

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
  color: var(--ink-3);
  font-weight: 400;
  max-width: 62ch;
  letter-spacing: -0.005em;
}

/* Accent word (in headings) — bold red instead of italic */
.h-red { color: var(--insa-red); }
.h-underline {
  background-image: linear-gradient(to top, var(--insa-red) 0, var(--insa-red) 8%, transparent 8%);
  padding: 0 2px;
}

/* ---- Layout ---- */
.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--article {
  max-width: var(--article-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * 0.55) 0; }
.section--alt { background: var(--paper-2); }
.section--ink { background: var(--insa-black); color: var(--ink-inv); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--ink-inv); }
.section--ink .lead, .section--ink p { color: rgba(255,255,255,0.72); }
.section--ink .mono-label { color: rgba(255,255,255,0.55); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--insa-red);
  transform: translateY(-1px);
}
.brand-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  margin-left: 4px;
  font-weight: 500;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active {
  color: var(--ink);
  border-bottom-color: var(--insa-red);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px;
  background: var(--paper);
}
.lang-toggle button {
  border: 0;
  background: transparent;
  padding: 5px 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-radius: 999px;
}
.lang-toggle button.is-active {
  background: var(--insa-black);
  color: var(--ink-inv);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--insa-black);
  background: var(--insa-black);
  color: var(--ink-inv);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--red {
  background: var(--insa-red);
  border-color: var(--insa-red);
}
.btn--red:hover { background: var(--insa-red-dark); border-color: var(--insa-red-dark); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--insa-black); color: var(--ink-inv); }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn .arrow { display: inline-block; transition: transform .3s; }
.btn:hover .arrow { transform: translateX(3px); }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: gap .2s, color .2s, border-color .2s;
}
.tlink:hover { gap: 12px; color: var(--insa-red); border-color: var(--insa-red); }

.tlink--red {
  color: var(--insa-red);
  border-color: var(--insa-red);
}

/* ---- Placeholder image ---- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      var(--insa-grey-04) 0,
      var(--insa-grey-04) 8px,
      var(--insa-grey-08) 8px,
      var(--insa-grey-08) 16px
    );
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: start;
  padding: 12px;
  color: var(--muted);
}
.ph::before {
  content: attr(data-label);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--paper);
  padding: 4px 8px;
  border: 1px solid var(--rule);
  color: var(--muted);
}

/* ============================================================
   BLOG ARTICLE SYSTEM
   ============================================================ */

/* Category pill — small red-bordered tag */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  color: var(--insa-red);
  border: 1px solid var(--insa-red);
  border-radius: 999px;
  background: rgba(228, 0, 43, 0.04);
}
.tag--ink {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}
.tag--grey {
  color: var(--muted);
  border-color: var(--rule);
  background: var(--paper);
}

/* Article header */
.article-header { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 32px; }
.article-header .meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.article-header .meta-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--insa-grey-30);
}
.article-header .meta-item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}
.article-header h1 {
  margin-bottom: 24px;
  text-wrap: balance;
}
.article-header .article-lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 46em;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.article-header .byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.article-header .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--insa-grey-08);
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  color: var(--ink-3);
}
.article-header .avatar--red { background: var(--insa-red); color: #fff; border-color: var(--insa-red); }
.article-header .byline-text .name { font-size: 14px; font-weight: 600; color: var(--ink); }
.article-header .byline-text .role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 20px 0 0;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--insa-red); }
.breadcrumb .sep { color: var(--insa-grey-30); }
.breadcrumb .current { color: var(--ink); }

/* Hero image / feature figure */
.feature {
  margin: 0 0 clamp(40px, 6vw, 72px);
}
.feature .feature-img {
  aspect-ratio: 16/9;
  background: var(--insa-grey-08);
  width: 100%;
}
.feature figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 62ch;
}

/* Article body */
.article-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: var(--article-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.article-body > * + * { margin-top: 22px; }
.article-body > h2 {
  margin-top: clamp(48px, 6vw, 72px);
  margin-bottom: 8px;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  scroll-margin-top: 100px;
}
.article-body > h2 + p, .article-body > h2 + .lead { margin-top: 16px; }
.article-body > h3 {
  margin-top: clamp(32px, 4vw, 44px);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.article-body > h3 + p { margin-top: 12px; }
.article-body p { color: var(--ink-2); }
.article-body p strong { color: var(--ink); font-weight: 700; }
.article-body a { color: var(--insa-red); border-bottom: 1px solid var(--insa-red); padding-bottom: 1px; }
.article-body a:hover { background: rgba(228, 0, 43, 0.06); }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0; }
.article-body li { margin-bottom: 8px; padding-left: 6px; }
.article-body li::marker { color: var(--insa-red); font-weight: 700; }

/* Callout — red left rule */
.callout {
  padding: 24px 28px;
  background: var(--insa-grey-04);
  border-left: 3px solid var(--insa-red);
  margin: 32px 0;
}
.callout .callout-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--insa-red);
  font-weight: 600;
  margin-bottom: 10px;
}
.callout p { color: var(--ink-2); font-size: 16px; line-height: 1.7; margin: 0; }

/* Pullquote */
.article-body blockquote,
.pullquote {
  margin: clamp(36px, 5vw, 56px) 0;
  padding: 0;
  border: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 500;
  text-wrap: balance;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--insa-red);
}
.pullquote cite {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  font-style: normal;
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* Figure (image + caption inside body) */
.article-body figure,
.figure {
  margin: 40px 0;
}
.article-body figure .ph,
.figure .ph {
  aspect-ratio: 16/10;
  width: 100%;
}
.article-body figcaption,
.figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Extended block — breaks out to wider width inside article */
.article-body .extended {
  max-width: 960px;
  width: calc(100vw - 2 * var(--gutter));
  margin-left: 50%;
  transform: translateX(-50%);
  position: relative;
}
@media (max-width: 900px) {
  .article-body .extended { width: 100%; margin-left: 0; transform: none; }
}

/* Data cards inside article */
.data-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  margin: 40px 0;
}
.data-strip > div {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
  background: var(--paper);
}
.data-strip > div:last-child { border-right: 0; }
.data-strip .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.data-strip .v {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.data-strip .v .sub { font-size: 15px; color: var(--muted); margin-left: 4px; font-weight: 500; letter-spacing: 0; }
.data-strip .d { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
@media (max-width: 700px) {
  .data-strip { grid-template-columns: 1fr; }
  .data-strip > div { border-right: 0; border-bottom: 1px solid var(--rule); }
  .data-strip > div:last-child { border-bottom: 0; }
}

/* Comparison table */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 36px 0;
  font-size: 15px;
}
.cmp-table th, .cmp-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.cmp-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
}
.cmp-table th.hi { color: var(--insa-red); }
.cmp-table td.hi { background: rgba(228,0,43,0.03); color: var(--ink); font-weight: 500; }
.cmp-table td:first-child { color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; width: 14ch; }

/* Article footer — tags + share */
.article-footer {
  max-width: var(--article-max);
  margin: clamp(60px, 8vw, 100px) auto 0;
  padding: 32px var(--gutter) 0;
  border-top: 1px solid var(--rule);
}
.article-footer .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.article-footer .share {
  display: flex;
  gap: 10px;
  align-items: center;
}
.article-footer .share .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
}
.share-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  color: var(--ink-3);
  background: var(--paper);
  transition: border-color .2s, color .2s;
}
.share-btn:hover { border-color: var(--insa-red); color: var(--insa-red); }

/* Related articles */
.related {
  max-width: var(--page-max);
  margin: clamp(60px, 8vw, 100px) auto 0;
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  border-top: 1px solid var(--rule);
}
.related .rel-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 40px;
}
.related h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.related .rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .related .rel-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ARTICLE CARDS (blog index)
   ============================================================ */
.art-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  transition: transform .3s;
}
.art-card:hover { transform: translateY(-2px); }
.art-card .art-thumb {
  aspect-ratio: 16/10;
  background: var(--insa-grey-08);
  overflow: hidden;
  position: relative;
}
.art-card .art-thumb .ph { border: 0; height: 100%; }
.art-card .art-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.art-card .art-meta .cat { color: var(--insa-red); font-weight: 600; }
.art-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.art-card:hover h3 { color: var(--insa-red); }
.art-card .art-excerpt {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* Featured hero card (large, single column) */
.art-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.art-hero .art-thumb { aspect-ratio: 4/3; }
.art-hero h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.art-hero .art-excerpt { font-size: 17px; line-height: 1.65; max-width: 46ch; }
.art-hero .meta-strip { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
@media (max-width: 900px) { .art-hero { grid-template-columns: 1fr; gap: 24px; } }

/* Category filter */
.cat-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cat-filter button {
  padding: 8px 16px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  font-weight: 500;
  transition: all .2s;
}
.cat-filter button:hover { border-color: var(--ink); color: var(--ink); }
.cat-filter button.is-active {
  background: var(--insa-black);
  color: var(--ink-inv);
  border-color: var(--insa-black);
}
.cat-filter button.is-active[data-cat="all"] { background: var(--insa-red); border-color: var(--insa-red); }

/* Article grid */
.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
  padding-top: 48px;
}
@media (max-width: 1000px) { .art-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .art-grid { grid-template-columns: 1fr; } }

/* ---- Reveal ---- */
/* Only hide reveals when JS is ready (html.js). Fail-safe: visible by default. */
.reveal { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
html.js .reveal { opacity: 0; transform: translateY(12px); }
html.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ---- Footer ---- */
.site-footer {
  background: var(--insa-black);
  color: rgba(255,255,255,0.85);
  padding: 72px 0 32px;
}
.footer-grid {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr 1.4fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}
.footer-grid h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-bottom: 20px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { font-size: 14px; color: rgba(255,255,255,0.75); transition: color .2s; }
.footer-grid a:hover { color: var(--insa-red); }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.6); max-width: 40ch; margin-top: 16px; line-height: 1.65; }
.footer-company,
.footer-address {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 6px var(--gutter) 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.01em;
  line-height: 1.6;
}
.footer-company { padding-top: 32px; color: rgba(255,255,255,0.78); font-weight: 500; }
.footer-bottom {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* ---- Utility ---- */
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.grid { display: grid; gap: 32px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { grid-template-columns: auto auto; gap: 16px; }
  .nav-links { display: none; }
}

/* Language toggle helper */
html[data-lang="ko"] [data-lang-only="en"] { display: none !important; }
html[data-lang="en"] [data-lang-only="ko"] { display: none !important; }

/* ============================================================
   SEO CONTENT PATTERNS (for marketing pages)
   Long-form + comparison tables + FAQ + benchmark cards
   ============================================================ */

/* Prose block — for readable long paragraphs */
.prose {
  max-width: 780px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
}
.prose > * + * { margin-top: 20px; }
.prose h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 40px;
}
.prose h3 + p { margin-top: 12px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a {
  color: var(--insa-red);
  border-bottom: 1px solid rgba(228, 0, 43, 0.4);
  padding-bottom: 1px;
  transition: border-color .2s, background .2s;
}
.prose a:hover { background: rgba(228, 0, 43, 0.06); border-bottom-color: var(--insa-red); }
.prose ul, .prose ol { padding-left: 22px; margin: 16px 0; }
.prose li { margin-bottom: 8px; padding-left: 6px; }
.prose li::marker { color: var(--insa-red); font-weight: 700; }
.prose blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 3px solid var(--insa-red);
  background: var(--paper-2);
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.7;
  font-weight: 500;
}
.prose blockquote strong { color: var(--ink); }

/* Comparison table */
.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.seo-table thead th {
  background: var(--insa-black);
  color: #fff;
  padding: 16px 18px;
  text-align: left;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.seo-table thead th:last-child { border-right: 0; }
.seo-table thead th.hi { background: var(--insa-red); }
.seo-table tbody th {
  background: var(--paper-2);
  color: var(--ink);
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.005em;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  width: 160px;
}
.seo-table tbody td {
  padding: 14px 18px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  color: var(--ink-2);
  line-height: 1.55;
}
.seo-table tbody td:last-child { border-right: 0; }
.seo-table tbody tr:last-child td, .seo-table tbody tr:last-child th { border-bottom: 0; }
.seo-table tbody td.hi { color: var(--insa-red); font-weight: 600; }
.seo-table tbody td.check::before { content: '✓  '; color: var(--insa-red); font-weight: 700; }
.seo-table tbody td.cross { color: var(--muted); }
.seo-table tbody td.cross::before { content: '—  '; }

.seo-table-scroll { overflow-x: auto; margin: 32px 0; }
.seo-table-scroll .seo-table { margin: 0; min-width: 720px; }

/* FAQ accordion */
.seo-faq { border-top: 1.5px solid var(--ink); }
.seo-faq details {
  border-bottom: 1px solid var(--rule);
  padding: 20px 4px;
  transition: background .15s;
}
.seo-faq details[open] { background: var(--paper-2); padding-left: 20px; padding-right: 20px; margin: 0 -20px; }
.seo-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary .q {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--insa-red);
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.seo-faq summary .plus {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--insa-grey-50);
  transition: transform .3s, color .3s;
  flex-shrink: 0;
}
.seo-faq details[open] summary .plus { transform: rotate(45deg); color: var(--insa-red); }
.seo-faq .answer {
  padding: 16px 0 4px 48px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 780px;
}
.seo-faq .answer p { margin: 0 0 12px; }
.seo-faq .answer p:last-child { margin-bottom: 0; }
.seo-faq .answer strong { color: var(--ink); font-weight: 700; }
.seo-faq .answer ul { padding-left: 20px; margin: 8px 0; }
.seo-faq .answer li { margin-bottom: 4px; }

/* Key-fact strip (AI-quotable inline data) */
.key-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 32px 0;
}
.key-facts > div {
  background: var(--paper);
  padding: 24px 22px;
}
.key-facts .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.key-facts .v {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.key-facts .v em { font-style: normal; color: var(--insa-red); }
.key-facts .d {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}

/* Benchmark row (industry-by-industry data) */
.bench-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 32px 0;
}
.bench-row {
  display: grid;
  grid-template-columns: 200px 1fr 100px 100px;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule-2);
  align-items: center;
  font-size: 14px;
}
.bench-row:last-child { border-bottom: 0; }
.bench-row:nth-child(odd) { background: var(--paper-2); }
.bench-row .sector { font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.bench-row .desc { color: var(--muted); font-size: 13px; }
.bench-row .num { font-family: var(--mono); text-align: right; color: var(--ink-2); font-weight: 600; }
.bench-row .num.hi { color: var(--insa-red); font-weight: 700; }
.bench-row .num.head { font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; font-weight: 700; }
.bench-row.bench-head { background: var(--insa-black); color: #fff; }
.bench-row.bench-head .sector { color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.bench-row.bench-head .desc { color: rgba(255,255,255,0.6); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.bench-row.bench-head .num { color: rgba(255,255,255,0.7); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }

@media (max-width: 700px) {
  .bench-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
  .bench-row .num.head { display: none; }
  .bench-row .num { text-align: left; }
  .bench-row .num::before { content: attr(data-label) ' · '; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
}

/* Checklist cards */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.check-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-card .c-idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--insa-red);
  font-weight: 700;
  text-transform: uppercase;
}
.check-card h4 { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin: 0; }
.check-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.check-card ul li { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; padding-left: 22px; position: relative; }
.check-card ul li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--insa-red); font-weight: 700; font-size: 13px;
}

/* ============================================================
   E-E-A-T · Author / Reviewer components
   ============================================================ */

/* Reviewer bar — compact strip near top of content pages */
.reviewer-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--insa-red);
  max-width: 1200px;
  margin: 24px auto 0;
  flex-wrap: wrap;
}
.reviewer-bar .rb-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--insa-black); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.reviewer-bar .rb-text { flex: 1; min-width: 200px; }
.reviewer-bar .rb-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--insa-red);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.reviewer-bar .rb-line {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}
.reviewer-bar .rb-line strong { font-weight: 700; }
.reviewer-bar .rb-line a { color: var(--insa-red); border-bottom: 1px dashed var(--insa-red); font-weight: 600; }
.reviewer-bar .rb-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  padding-left: 20px;
  border-left: 1px solid var(--rule);
  flex-shrink: 0;
}

/* Author card — big block at bottom of content pages */
.author-card {
  padding: 40px;
  background: var(--insa-black);
  color: #fff;
  margin: 48px 0 0;
}
.author-card .ac-body { display: flex; flex-direction: column; gap: 20px; }
.author-card .ac-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--insa-red);
  font-weight: 700;
  text-transform: uppercase;
}
.author-card .ac-name {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.author-card .ac-name .en {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-family: var(--mono);
  letter-spacing: 0.08em;
  font-weight: 500;
}
.author-card .ac-title {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.author-card .ac-title strong { color: #fff; font-weight: 700; }
.author-card .ac-cred {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.author-card .ac-cred > div {
  display: flex; flex-direction: column; gap: 8px;
}
.author-card .ac-cred .cred-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  font-weight: 600;
}
.author-card .ac-cred ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.author-card .ac-cred li {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}
.author-card .ac-cred li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 1px;
  background: var(--insa-red);
}
.author-card .ac-cred li strong { color: #fff; font-weight: 700; }
.author-card .ac-cred li .patent-no {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
  font-weight: 500;
  margin-left: 4px;
}
.author-card .ac-cred li a.patent-link {
  border-bottom: 1px dotted rgba(255,255,255,0.35);
  transition: color .2s, border-color .2s;
}
.author-card .ac-cred li a.patent-link:hover {
  color: #fff;
  border-bottom-color: var(--insa-red);
}
.author-card .ac-verify {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  font-weight: 600;
  display: flex; gap: 20px; flex-wrap: wrap;
}
.author-card .ac-verify a { color: var(--insa-red); border-bottom: 1px dashed rgba(228,0,43,0.5); }

.footer-author-wrap {
  background: var(--paper-2);
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--rule);
}

/* Data Disclaimer badge ---------------------------------- */
.data-disclaimer {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 14px 20px 14px 18px;
  background: rgba(228,0,43,0.04);
  border-left: 3px solid var(--insa-red);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.data-disclaimer .dd-badge {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #fff;
  background: var(--insa-red);
  padding: 4px 8px;
  margin-top: 2px;
  text-transform: uppercase;
}
.data-disclaimer .dd-body {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-3);
}
.data-disclaimer .dd-body strong { color: var(--ink-2); font-weight: 700; }
.data-disclaimer .dd-body em { font-style: normal; color: var(--ink-2); font-weight: 500; }
.data-disclaimer .dd-body a {
  color: var(--insa-red);
  border-bottom: 1px solid rgba(228,0,43,0.35);
}

/* Table caption tag (내부 추정 · 산업 벤치마크) ---------- */
.wp-body table caption .cap-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  border-radius: 3px;
  vertical-align: middle;
}
.wp-body table caption .cap-tag--internal {
  background: rgba(228,0,43,0.1);
  color: var(--insa-red);
  border: 1px solid rgba(228,0,43,0.3);
}
.wp-body table caption .cap-tag--benchmark {
  background: rgba(64,120,255,0.08);
  color: oklch(0.48 0.14 250);
  border: 1px solid rgba(64,120,255,0.25);
}
.wp-body table caption .cap-tag--mixed {
  background: rgba(128,64,192,0.08);
  color: oklch(0.42 0.14 300);
  border: 1px solid rgba(128,64,192,0.25);
}

@media (max-width: 900px) {
  .author-card { padding: 32px 24px; }
  .author-card .ac-cred { grid-template-columns: 1fr; }
  .data-disclaimer { flex-direction: column; gap: 8px; }
  .reviewer-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .reviewer-bar .rb-meta { padding-left: 0; border-left: 0; padding-top: 12px; border-top: 1px solid var(--rule); width: 100%; }
}

/* Info callout (glossary / warning) */
.info-callout {
  padding: 20px 24px;
  background: var(--paper-2);
  border-left: 3px solid var(--insa-red);
  margin: 24px 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.7;
}
.info-callout .callout-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--insa-red);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.info-callout strong { color: var(--ink); font-weight: 700; }

/* ============================================================
   CATEGORY INDEX PAGE
   ============================================================ */
.cat-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--rule);
}
.cat-hero .cat-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.cat-hero .cat-eyebrow .idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
}
.cat-hero .cat-eyebrow .divider {
  flex: 1; height: 1px; background: var(--rule); max-width: 200px;
}
.cat-hero .cat-eyebrow .count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.cat-hero h1 {
  font-size: clamp(44px, 6.5vw, 88px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 28px;
  text-wrap: balance;
}
.cat-hero .cat-desc {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 62ch;
  text-wrap: pretty;
}
.cat-hero .cat-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Sibling category strip */
.sibling-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 40px;
}
.sib-cat {
  padding: 8px 16px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  font-weight: 500;
  transition: all .2s;
}
.sib-cat:hover { border-color: var(--ink); color: var(--ink); }
.sib-cat.is-active {
  background: var(--insa-red);
  color: #fff;
  border-color: var(--insa-red);
}

/* Featured article inside category */
.cat-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: clamp(48px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--rule);
}
.cat-featured .art-thumb { aspect-ratio: 4/3; background: var(--insa-grey-08); }
.cat-featured .meta-strip { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.cat-featured h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.028em;
  line-height: 1.1;
  margin-bottom: 18px;
  text-wrap: balance;
}
.cat-featured .excerpt {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 46ch;
}
@media (max-width: 900px) { .cat-featured { grid-template-columns: 1fr; gap: 24px; } }

/* ============================================================
   SITEMAP PAGE
   ============================================================ */
.sm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.sm-column {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.sm-column .sm-cat-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
}
.sm-column .sm-cat-head h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.sm-column .sm-cat-head .sm-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.sm-column .sm-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.sm-list { list-style: none; padding: 0; margin: 0; }
.sm-list li { padding: 14px 0; border-bottom: 1px solid var(--rule-2); }
.sm-list li:last-child { border-bottom: 0; }
.sm-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  color: var(--ink);
  transition: color .2s;
}
.sm-list a:hover { color: var(--insa-red); }
.sm-list a:hover .sm-arrow { transform: translateX(3px); color: var(--insa-red); }
.sm-list .sm-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.45;
}
.sm-list .sm-arrow {
  color: var(--insa-grey-30);
  font-family: var(--mono);
  font-size: 14px;
  transition: transform .2s, color .2s;
}
.sm-column.sm-column--wide { grid-column: 1 / -1; }
@media (max-width: 700px) { .sm-grid { grid-template-columns: 1fr; } }

/* Sitemap section header */
.sm-section {
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--rule);
}
.sm-section:first-of-type { border-top: 0; }
.sm-section .sm-section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-bottom: 24px;
}
.sm-section .sm-section-head .sm-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--insa-red);
  font-weight: 600;
  text-transform: uppercase;
}
.sm-section .sm-section-head h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
}
.sm-section .sm-section-head p {
  color: var(--ink-3);
  font-size: 15px;
  margin-top: 12px;
  max-width: 60ch;
  line-height: 1.6;
}
@media (max-width: 900px) { .sm-section .sm-section-head { grid-template-columns: 1fr; gap: 12px; } }

/* Big sitemap featured */
.sm-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  margin: 40px 0;
}
.sm-featured a {
  padding: 32px 28px;
  border-right: 1px solid var(--rule);
  background: var(--paper);
  transition: background .2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sm-featured a:last-child { border-right: 0; }
.sm-featured a:hover { background: var(--paper-2); }
.sm-featured a:hover .sm-f-title { color: var(--insa-red); }
.sm-featured .sm-f-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--insa-red);
  text-transform: uppercase;
  font-weight: 600;
}
.sm-featured .sm-f-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
  transition: color .2s;
}
.sm-featured .sm-f-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: auto;
}
@media (max-width: 900px) {
  .sm-featured { grid-template-columns: 1fr; }
  .sm-featured a { border-right: 0; border-bottom: 1px solid var(--rule); }
  .sm-featured a:last-child { border-bottom: 0; }
}

/* Worry / Before-After block (IMC article) */
.worry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 40px 0;
}
.worry-cell {
  background: var(--paper);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.worry-cell .w-idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--insa-red);
  font-weight: 600;
  text-transform: uppercase;
}
.worry-cell .w-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
}
.worry-cell .w-sub {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
}
@media (max-width: 700px) { .worry-grid { grid-template-columns: 1fr; } }

/* Before/After comparison */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin: 40px 0;
}
.ba-cell {
  padding: 28px 24px;
  border: 1px solid var(--rule);
}
.ba-cell.ba--before { background: var(--paper-2); }
.ba-cell.ba--after {
  background: var(--insa-black);
  color: #fff;
  border-color: var(--insa-black);
}
.ba-cell.ba--after .ba-lbl { color: var(--insa-red); }
.ba-cell.ba--after .ba-title, .ba-cell.ba--after .ba-desc { color: #fff; }
.ba-cell .ba-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ba-cell .ba-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 10px;
}
.ba-cell .ba-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
}
.ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  color: var(--insa-red);
  font-size: 20px;
  font-weight: 700;
}
@media (max-width: 700px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); padding: 8px 0; }
}

/* IMC 6-service list */
.svc-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 32px 0;
}
.svc-cell {
  background: var(--paper);
  padding: 28px 20px;
  text-align: left;
}
.svc-cell .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--insa-red);
  font-weight: 600;
  margin-bottom: 8px;
}
.svc-cell .nm {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
}
.svc-cell .ds {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 700px) { .svc-list { grid-template-columns: 1fr 1fr; } }

