/* ==========================================================
   랑펀미디어 · 누키 홈페이지
   ========================================================== */

:root {
  --grey-900: #191F28;
  --grey-800: #333D4B;
  --grey-700: #4E5968;
  --grey-600: #6B7684;
  --grey-500: #8B95A1;
  --grey-400: #B0B8C1;
  --grey-300: #D1D6DB;
  --grey-200: #E5E8EB;
  --grey-100: #F2F4F6;
  --grey-50:  #F9FAFB;

  --primary: #3A7BD5;
  --primary-strong: #2C66B8;
  --primary-50: #EDF3FC;
  --violet: #5B4BA3;
  --cyan: #4FB8DB;
  --green: #12A37C;
  --red: #F04452;
  --navy: #0B1630;
  --brand-grad: linear-gradient(90deg, #5B4BA3 0%, #4A86C8 45%, #5BBFE0 80%, #A3DAEA 100%);

  --radius-xl: 32px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 2px rgba(25, 31, 40, .04), 0 14px 36px rgba(25, 31, 40, .08);
  --shadow-float: 0 10px 30px rgba(25, 31, 40, .13);
  --ease: cubic-bezier(.22, .8, .24, 1);

  --container: 1140px;
  --gutter: 24px;
  --nav-h: 64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--grey-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
}

img, svg, video { display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
ul { list-style: none; }
section[id] { scroll-margin-top: var(--nav-h); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--grey-900);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid rgba(58, 123, 213, .55); outline-offset: 3px; border-radius: 8px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s ease;
}
.btn:active { transform: scale(.96); }
.btn-lg { height: 56px; padding: 0 26px; font-size: 17px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); }
.btn-glass {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .26); }
.btn-white { background: #fff; color: var(--grey-900); }
.btn-white:hover { background: var(--grey-100); }

/* ---------- 내비게이션 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  color: #fff;
  transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
}
.nav.is-solid {
  color: var(--grey-900);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .06);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { width: auto; height: 18px; }
.logo-color,
.nav.is-solid .logo-light { display: none; }
.nav.is-solid .logo-color { display: block; }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  opacity: .82;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a[aria-current="page"] { opacity: 1; color: var(--primary); }

/* ---------- 히어로 ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 40%;
  transition: opacity .6s ease;
}
.hero-video.is-fading { opacity: 0; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 28, .45) 0%, rgba(8, 14, 28, 0) 22%),
    linear-gradient(90deg, rgba(8, 14, 28, .62) 0%, rgba(8, 14, 28, .2) 55%, rgba(8, 14, 28, 0) 85%),
    linear-gradient(0deg, rgba(8, 14, 28, .8) 0%, rgba(8, 14, 28, 0) 58%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(72px, 13vh, 150px);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
}
.hero-title {
  font-size: clamp(34px, 5.4vw, 72px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .18);
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, .84);
}
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

.video-toggle {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 28px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background-color .2s;
}
.video-toggle:hover { background: rgba(255, 255, 255, .28); }
.video-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.video-toggle .i-play { display: none; }
.video-toggle[data-state="paused"] .i-play { display: block; }
.video-toggle[data-state="paused"] .i-pause { display: none; }

/* ---------- 인트로 문장 ---------- */
.intro { padding: clamp(120px, 16vw, 200px) 0; }
.intro-text {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.03em;
}
.intro-text em { font-style: normal; }
.intro-text em,
.intro-text .w.hl {
  background: linear-gradient(90deg, #5B4BA3, #3A7BD5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.intro-text .w { transition: color .3s ease, opacity .3s ease; }

/* ---------- 기능 섹션 ---------- */
.feature { padding: clamp(72px, 9vw, 130px) 0; }
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(40px, 6.5vw, 100px);
}
.feature.is-reverse .feature-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.feature.is-reverse .feature-text { order: 2; }

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 700;
  color: var(--primary);
}
.feature-title,
.section-title {
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.03em;
}
.feature-desc,
.section-desc {
  margin-top: 20px;
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--grey-700);
}
.feature-points {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}
.feature-points li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--grey-600);
}
.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A7BD5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* 목업 무대 */
.stage {
  position: relative;
  min-height: clamp(440px, 44vw, 560px);
  padding: clamp(36px, 4.5vw, 64px) clamp(24px, 4vw, 56px);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--stage-bg);
}
.stage::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  right: -18%;
  top: -22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--stage-glow), transparent);
  pointer-events: none;
}
.stage--blue   { --stage-bg: linear-gradient(155deg, #E6EFFC 0%, #F4F8FE 100%); --stage-glow: rgba(58, 123, 213, .16); }
.stage--violet { --stage-bg: linear-gradient(155deg, #ECE9FA 0%, #F7F6FD 100%); --stage-glow: rgba(91, 75, 163, .14); }
.stage--cyan   { --stage-bg: linear-gradient(155deg, #E2F3FA 0%, #F3FAFD 100%); --stage-glow: rgba(79, 184, 219, .2); }

.mock { position: relative; z-index: 1; width: 100%; max-width: 430px; }

/* 기능마다 캐릭터가 목업 옆에서 거들어 줌 */
.buddy {
  position: absolute;
  z-index: 2;
  bottom: -14px;
  width: clamp(96px, 9vw, 132px);
  pointer-events: none;
}
.buddy--r { right: clamp(8px, 1.6vw, 24px); }
.buddy--l { left: clamp(8px, 1.6vw, 24px); }
.buddy img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 12px 18px rgba(25, 31, 40, .14));
}

.app {
  position: relative;
  width: 100%;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.app-title { font-size: 17px; font-weight: 700; }
.muted { font-size: 13px; font-weight: 500; color: var(--grey-500); }

.pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}
.pill-grad { background: var(--brand-grad); color: #fff; }

.tag {
  flex: none;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}
.tag-red  { background: #FFEEF0; color: var(--red); }
.tag-blue { background: var(--primary-50); color: var(--primary); }

.live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--green); }
.live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(18, 163, 124, .45); }
  100% { box-shadow: 0 0 0 9px rgba(18, 163, 124, 0); }
}

.float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-float);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.float--tr { top: -26px; right: -20px; }
.float--bl { bottom: -24px; left: -20px; }
.float--br { bottom: -24px; right: -20px; }
.float-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary-50);
  color: var(--primary);
}
.float-icon--green { background: #E3F7F0; color: var(--green); }
.float-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* 1. 새 소식 피드 */
.feed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.feed-item { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 14px; }
.feed-item:first-child { background: var(--grey-50); }
.src {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--tone);
}
.feed-body { flex: 1; min-width: 0; }
.feed-title { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-meta { margin-top: 3px; font-size: 13px; color: var(--grey-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 2. 기사 초안 */
.doc-title { font-size: 20px; font-weight: 700; line-height: 1.42; letter-spacing: -.02em; }
.doc-text { margin-top: 12px; font-size: 14.5px; line-height: 1.7; color: var(--grey-700); }
.lines { margin-top: 14px; display: grid; gap: 10px; }
.lines span {
  display: block;
  width: var(--w, 100%);
  height: 10px;
  border-radius: 5px;
  background: var(--grey-100);
  transform-origin: left center;
}
.lines--tight { gap: 8px; margin-top: 12px; }
.doc-add {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1.5px dashed #B8D0F2;
  border-radius: 12px;
  background: #F5F9FF;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.caret { width: 2px; height: 16px; background: var(--primary); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.doc-source { margin-top: 14px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--grey-500); }
.doc-source svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* 3. 발제 제안 */
.pitch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--grey-50);
}
.pitch + .pitch { margin-top: 8px; }
.pitch.is-top {
  display: block;
  padding: 18px;
  background: #fff;
  border: 1.5px solid #CDDEF6;
  box-shadow: 0 10px 26px rgba(58, 123, 213, .12);
}
.pitch-row { display: flex; align-items: center; justify-content: space-between; }
.pitch-score { font-size: 13px; font-weight: 600; color: var(--grey-500); white-space: nowrap; }
.pitch-score b { margin-right: 1px; font-size: 22px; font-weight: 700; color: var(--primary); }
.pitch-score.sm b { font-size: 16px; color: var(--grey-700); }
.pitch-title { margin-top: 10px; font-size: 16px; font-weight: 700; line-height: 1.45; }
.pitch-title.sm { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--grey-800); }
.spark { width: 100%; height: 44px; margin-top: 12px; }
.spark .area { fill: url(#sparkFill); }
.spark .line { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; vector-effect: non-scaling-stroke; }
.pitch-why { margin-top: 6px; font-size: 13px; color: var(--grey-600); }
.chips-label { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--grey-500); }
.chips { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--grey-100);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--grey-700);
}

/* 4. 유사 기사 */
.sim-top { display: flex; align-items: center; gap: 18px; padding: 16px; border-radius: 16px; background: var(--grey-50); }
.ring { position: relative; flex: none; width: 84px; height: 84px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: var(--grey-200); }
.ring .val {
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--p));
}
.ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ring-num small { margin: 5px 0 0 1px; font-size: 13px; font-weight: 600; }
.sim-verdict { margin-bottom: 4px; font-size: 17px; font-weight: 700; }
.sim-list { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0 4px; }
.sim-row { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.sim-src { flex: none; font-weight: 700; color: var(--grey-800); }
.sim-title { flex: 1; min-width: 0; color: var(--grey-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sim-val { flex: none; font-weight: 700; color: var(--grey-800); font-variant-numeric: tabular-nums; }
.bar { margin-top: 8px; height: 6px; border-radius: 3px; background: var(--grey-100); overflow: hidden; }
.bar i { display: block; width: var(--v); height: 100%; border-radius: 3px; background: #8FB4EA; transform-origin: left center; }
.sim-list li:first-child .bar i { background: var(--primary); }
.tip {
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #FFF7E5;
  font-size: 13.5px;
  line-height: 1.5;
  color: #85580A;
}
.tip svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: #E09A12; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 5. 관련기사 */
.art-meta { font-size: 12.5px; font-weight: 600; color: var(--grey-500); }
.art-title { margin-top: 6px; font-size: 18px; font-weight: 700; line-height: 1.42; letter-spacing: -.02em; }
.related { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--grey-100); }
.related-title { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--grey-800); }
.related-title svg { width: 16px; height: 16px; fill: none; stroke: var(--primary); stroke-width: 2.2; stroke-linecap: round; }
.rel { display: flex; align-items: center; gap: 14px; margin: 0 -10px; padding: 10px; border-radius: 14px; }
.rel:nth-of-type(2) { background: var(--grey-50); }
.thumb { flex: none; width: 64px; height: 50px; border-radius: 11px; background: var(--tone); }
.rel-tag { font-size: 12px; font-weight: 700; color: var(--c); }
.rel p { margin-top: 2px; font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--grey-800); }

/* 6. 카드뉴스 */
.mock-cn { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.cn-make {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(58, 123, 213, .32);
}
.cn-make svg { width: 18px; height: 18px; fill: currentColor; }
.cn-stack { position: relative; width: 100%; height: 300px; }
.cn-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 216px;
  aspect-ratio: 4 / 5;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform .9s var(--ease), opacity .6s ease;
}
.cn-card--1 {
  z-index: 3;
  transform: translate(-50%, -50%);
  color: #fff;
  background: linear-gradient(160deg, #5B4BA3 0%, #4A86C8 58%, #4FB8DB 100%);
  box-shadow: 0 18px 40px rgba(58, 80, 160, .3);
}
.cn-card--2 { z-index: 2; transform: translate(-50%, -50%) translateX(-112px) rotate(-8deg) scale(.92); }
.cn-card--3 { z-index: 1; transform: translate(-50%, -50%) translateX(112px) rotate(8deg) scale(.92); background: #EEF4FD; align-items: flex-end; text-align: right; }
.cn-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; opacity: .82; }
.cn-cover { margin-top: auto; font-size: 23px; font-weight: 700; line-height: 1.32; letter-spacing: -.02em; }
.cn-no { font-family: Poppins, sans-serif; font-size: 26px; font-weight: 600; color: var(--primary); }
.cn-head { margin-top: 10px; font-size: 18px; font-weight: 700; line-height: 1.38; }
.lines--static { margin-top: auto; gap: 8px; }
.lines--static span { height: 8px; background: rgba(25, 31, 40, .07); }
.cn-dots { display: flex; gap: 6px; }
.cn-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(25, 31, 40, .15); }
.cn-dots i.on { width: 18px; background: var(--primary); }

.section-head { max-width: 760px; margin: 0 auto; text-align: center; }

/* ---------- 자료 처리 ---------- */
.data {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 13vw, 170px) 0;
  color: #fff;
  background: var(--navy);
}
.data::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -24%;
  width: min(1200px, 130vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(58, 123, 213, .3), transparent);
  pointer-events: none;
}
.data .container { position: relative; }
.data .section-title { color: #fff; }
.data .section-desc { color: rgba(255, 255, 255, .68); }
.eyebrow--light { color: #7FC4F0; }

.checks {
  list-style: none;
  margin-top: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.check {
  padding: 28px 26px 30px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  background: rgba(255, 255, 255, .05);
}
/* 사이트 색으로 채운 작은 아이콘 (감싸는 상자 없이) */
.check-icon { display: block; width: 30px; height: 30px; }
.check-icon svg { display: block; width: 100%; height: 100%; }
.check-title { margin-top: 20px; font-size: 20px; font-weight: 700; line-height: 1.42; letter-spacing: -.02em; }
.check-desc { margin-top: 10px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .6); }

/* ---------- 레퍼런스 ---------- */
.refs { padding: clamp(110px, 13vw, 170px) 0; }
.refs .num {
  background: linear-gradient(90deg, #5B4BA3, #3A7BD5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.logo-grid {
  list-style: none;
  margin-top: clamp(52px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.logo-tile {
  height: clamp(104px, 11vw, 136px);
  padding: 0 10%;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--grey-50);
  transition: background-color .25s ease;
}
.logo-tile:hover { background: var(--grey-100); }
.logo-tile img {
  width: auto;
  height: var(--h, 40px);
  max-width: 100%;
  object-fit: contain;
}
/* 로고에 마우스를 올렸을 때만 함께한 내용이 떠오름 (휴대폰은 탭하면 나타남) */
.logo-tile.has-note {
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background-color .3s ease, transform .35s var(--ease), box-shadow .35s ease;
}
.logo-tile.has-note img { transition: opacity .25s ease, transform .4s var(--ease); }
.logo-note {
  position: absolute;
  inset: 0;
  padding: 0 10%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--primary-strong);
  opacity: 0;
  transform: translateY(14px) scale(.96);
  transition: opacity .3s ease .05s, transform .45s var(--ease) .05s;
  pointer-events: none;
}
.logo-tile.has-note:hover,
.logo-tile.has-note:focus-visible {
  background: var(--primary-50);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(58, 123, 213, .14);
}
.logo-tile.has-note:hover img,
.logo-tile.has-note:focus-visible img { opacity: 0; transform: translateY(-14px) scale(.92); }
.logo-tile.has-note:hover .logo-note,
.logo-tile.has-note:focus-visible .logo-note { opacity: 1; transform: none; }

.refs-more {
  margin-top: 28px;
  text-align: center;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  color: var(--grey-600);
}
.refs-more b { font-weight: 700; color: var(--grey-900); }

.logo-group { margin-top: clamp(64px, 8vw, 96px); text-align: center; }
.logo-group-label { font-size: 15px; font-weight: 700; color: var(--grey-500); }
.logo-group .logo-grid { margin-top: 18px; }

/* ---------- 만드는 사람 ---------- */
.founder { padding: clamp(100px, 12vw, 160px) 0; background: var(--grey-50); overflow: hidden; }
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: end; /* 왼쪽 경력 로고 박스와 오른쪽 특허·논문 카드의 아랫선을 맞춤 */
  gap: clamp(40px, 6vw, 96px);
}
.career-label { margin-top: 40px; font-size: 14px; font-weight: 600; color: var(--grey-500); }
.career {
  list-style: none;
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.career li {
  height: 84px;
  padding: 0 12%;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #fff;
}
.career img { width: auto; height: var(--h, 24px); max-width: 100%; object-fit: contain; }

/* 특허증·논문 (기사 초안 목업의 .doc 와 겹치지 않도록 proof 로 구분) */
.proofs-wrap { display: flex; flex-direction: column; align-items: stretch; }
.proofs { position: relative; display: flex; justify-content: center; align-items: flex-start; width: 100%; padding: 12px 0 40px; }
.proof {
  position: relative;
  width: 48%;
  max-width: 300px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(25, 31, 40, .06), 0 22px 48px rgba(25, 31, 40, .14);
  cursor: zoom-in;
  transition: transform .4s var(--ease), box-shadow .4s ease;
}
.proof img { display: block; width: 100%; height: auto; }
.proof--patent { z-index: 1; transform: rotate(-4deg) translateX(14px); }
.proof--paper { z-index: 2; margin-top: 36px; transform: rotate(3deg) translateX(-14px); }
.proof:hover { z-index: 3; transform: rotate(0) translateY(-6px) scale(1.02); box-shadow: 0 2px 6px rgba(25, 31, 40, .06), 0 28px 60px rgba(25, 31, 40, .2); }
.proofs-cap { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
/* 카드 높이 = 경력 로고 박스 두 줄(84px × 2 + 간격 10px) */
.proofs-cap li { min-height: 178px; padding: 14px 20px; border-radius: 18px; background: #fff; }
.proofs-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--primary-50);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}
.proofs-title { margin-top: 10px; font-size: 14.5px; font-weight: 700; line-height: 1.45; color: var(--grey-800); }
.proofs-meta { margin-top: 6px; font-size: 13px; color: var(--grey-500); }
.proofs-title mark {
  padding: 0 2px;
  background: linear-gradient(transparent 52%, #FFE38A 52%);
  color: inherit;
}

/* ---------- 크게 보기 ---------- */
.round-btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--grey-800);
  box-shadow: 0 2px 10px rgba(25, 31, 40, .08);
  cursor: pointer;
  transition: background-color .2s, opacity .2s;
}
.round-btn:hover { background: var(--grey-100); }
.round-btn:disabled { opacity: .35; cursor: default; }
.round-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.round-btn--dark { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; }
.round-btn--dark:hover { background: rgba(255, 255, 255, .24); }

.viewer {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 64px 88px 40px;
  border: 0;
  background: transparent;
  display: none;
}
.viewer[open] { display: flex; align-items: center; justify-content: center; }
.viewer::backdrop { background: rgba(8, 12, 20, .9); }
.viewer-figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.viewer-figure img {
  width: auto;
  height: auto;
  max-width: min(100%, 760px);
  max-height: calc(100dvh - 150px);
  border-radius: 12px;
}
.viewer-figure figcaption { font-size: 14px; color: rgba(255, 255, 255, .75); text-align: center; }
.viewer-close { position: fixed; top: 16px; right: 16px; }
.viewer-prev,
.viewer-next { position: fixed; top: 50%; transform: translateY(-50%); }
.viewer-prev { left: 20px; }
.viewer-next { right: 20px; }

/* ---------- 언론 보도 ---------- */
.press { padding: clamp(110px, 13vw, 170px) 0; }
.press-list {
  list-style: none;
  margin-top: clamp(40px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.press-card {
  height: 100%;
  min-height: 224px;
  padding: 30px 30px 26px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  background: var(--grey-50);
  text-decoration: none;
  transition: transform .3s var(--ease), background-color .3s ease;
}
.press-card:hover { transform: translateY(-4px); background: var(--grey-100); }
.press-list li:first-child { grid-column: 1 / -1; }
.press-list li:first-child .press-card {
  min-height: 0;
  padding: 36px 36px 30px;
  background: var(--primary-50);
}
.press-list li:first-child .press-card:hover { background: #E2ECFA; }
.press-list li:first-child .press-title { font-size: clamp(22px, 2.3vw, 30px); }
.press-meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--grey-500); }
.press-meta b { font-weight: 700; color: var(--primary); }
.press-title {
  margin-top: 14px;
  font-size: clamp(19px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.02em;
  color: var(--grey-900);
}
.press-go {
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-600);
}
.press-go svg,
.ext { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.press-card--thumb { flex-direction: row; align-items: flex-start; gap: 20px; }
.press-body { flex: 1; min-width: 0; align-self: stretch; display: flex; flex-direction: column; }
.press-thumb { flex: none; width: 116px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--grey-200); }
.press-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 도입 문의 ---------- */
.cta {
  padding: clamp(110px, 13vw, 170px) 0;
  text-align: center;
  background: linear-gradient(180deg, #F1F5FD 0%, #FFFFFF 100%);
}
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-head { display: flex; flex-direction: column; align-items: center; }
.cta-title {
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.03em;
}
.cta-desc { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; color: var(--grey-600); }
.contact-panel {
  position: relative;
  width: 100%;
  margin-top: clamp(56px, 7vw, 80px);
  padding: clamp(32px, 4vw, 48px);
  border-radius: 32px;
  overflow: hidden;
  text-align: left;
  color: var(--grey-900);
  background: linear-gradient(115deg, #E9F0FC 0%, #EEEBFA 100%);
}
.contact-panel::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -60%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .7), transparent);
  pointer-events: none;
}
.contact-panel-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact-panel-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
.contact-panel-desc { margin-top: 10px; font-size: 16px; color: var(--grey-600); }
.contact-panel .btn { flex: none; }
.contact-panel-list {
  position: relative;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(25, 31, 40, .08);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
}
.contact-panel-list a { display: flex; align-items: center; gap: 12px; color: var(--grey-900); text-decoration: none; }
.contact-panel-list a:hover .contact-text { text-decoration: underline; text-underline-offset: 3px; }
.contact-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
}
.contact-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-text { display: flex; flex-direction: column; font-size: 16px; font-weight: 700; line-height: 1.35; }
.contact-text small { font-size: 12.5px; font-weight: 500; color: var(--grey-500); }

.picks {
  list-style: none;
  width: 100%;
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.pick {
  padding: 26px 26px 28px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(25, 31, 40, .04), 0 8px 24px rgba(25, 31, 40, .05);
  text-align: left;
}
.pick-char { position: relative; width: 96px; height: 100px; flex: none; display: flex; align-items: flex-end; justify-content: center; }
.pick-hop { position: relative; z-index: 1; width: 88px; height: 88px; transform-origin: 50% 100%; }
.pick-hop img { width: 100%; height: 100%; object-fit: contain; }
.pick-shadow {
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 52px;
  height: 8px;
  margin-left: -26px;
  border-radius: 50%;
  background: rgba(25, 31, 40, .14);
  filter: blur(3px);
}
.pick-text { display: flex; flex-direction: column; gap: 6px; }
.pick-title { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.pick-desc { font-size: 15px; line-height: 1.55; color: var(--grey-600); }

@keyframes hop {
  0%, 54%, 100% { transform: translateY(0) scale(1); }
  4% { transform: translateY(0) scale(1.08, .92); }
  14% { transform: translateY(-24px) scale(.95, 1.06); }
  24% { transform: translateY(0) scale(1.07, .93); }
  32% { transform: translateY(-12px) scale(.97, 1.03); }
  42% { transform: translateY(0) scale(1.04, .96); }
  48% { transform: translateY(0) scale(1); }
}
@keyframes hopShadow {
  0%, 4%, 24%, 42%, 54%, 100% { transform: scaleX(1); opacity: 1; }
  14% { transform: scaleX(.55); opacity: .45; }
  32% { transform: scaleX(.75); opacity: .7; }
}

/* 문의 모달: 관심 기능 */
.interest { border: 0; }
.interest legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--grey-700); }
.interest legend em { margin-left: 4px; font-style: normal; font-weight: 500; color: var(--grey-500); }
.interest-options { display: flex; flex-wrap: wrap; gap: 8px; }
.interest-options label { position: relative; }
.interest-options input { position: absolute; inset: 0; opacity: 0; }
.interest-options span {
  height: 38px;
  padding: 0 14px;
  border: 1.5px solid var(--grey-200);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-600);
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.interest-options input:checked + span { border-color: var(--primary); background: var(--primary-50); color: var(--primary); }
.interest-options input:focus-visible + span { outline: 3px solid rgba(58, 123, 213, .35); outline-offset: 2px; }

/* ---------- 푸터 (toss.im 구성 참고) ---------- */
.footer {
  overflow: hidden;
  padding: clamp(72px, 9vw, 120px) 0 40px;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  background: linear-gradient(180deg, #0B1630 0%, #232D4D 55%, #46506F 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 48px;
}
.footer-tagline { font-size: 24px; font-weight: 700; line-height: 1.45; letter-spacing: -.01em; color: rgba(255, 255, 255, .9); }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-col { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col p { margin-bottom: 6px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .5); }
.footer-col a,
.footer-col button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s;
}
.footer-col a:hover,
.footer-col button:hover { color: #fff; }
.footer-info { margin-top: 56px; display: grid; gap: 4px; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .55); }
.info-row span + span::before { content: "|"; margin: 0 10px; color: rgba(255, 255, 255, .28); }
.footer-policy { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; }
.footer-policy a { font-weight: 600; color: rgba(255, 255, 255, .68); text-decoration: none; transition: color .2s; }
.footer-policy a:hover { color: #fff; }
.footer-policy b { font-weight: 700; color: rgba(255, 255, 255, .92); }
.footer-mark {
  margin-top: clamp(56px, 8vw, 104px);
  font-size: clamp(32px, 10.9vw, 156px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
  color: rgba(255, 255, 255, .09);
  user-select: none;
}
.footer-bottom {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

/* ---------- 도입 문의 모달 ---------- */
html.is-locked { overflow: hidden; }
.modal {
  width: min(560px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: var(--grey-900);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
  overflow: auto;
  overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(10, 16, 28, .5); }
.modal-body { padding: 28px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.modal-head h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.modal-close {
  width: 40px;
  height: 40px;
  margin-right: -8px;
  border: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: none;
  color: var(--grey-600);
  cursor: pointer;
}
.modal-close:hover { background: var(--grey-100); }
.modal-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.modal-desc { font-size: 15px; color: var(--grey-600); }

.inquiry-form { display: grid; gap: 18px; }
.seg { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--grey-700); }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; }
.seg span {
  height: 52px;
  padding: 0 12px;
  border: 1.5px solid var(--grey-200);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--grey-600);
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.seg input:checked + span { border-color: var(--primary); background: var(--primary-50); color: var(--primary); }
.seg input:focus-visible + span { outline: 3px solid rgba(58, 123, 213, .35); outline-offset: 2px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field-label { font-size: 14px; font-weight: 600; color: var(--grey-700); }
.field-label i { font-style: normal; color: var(--red); }
.field-label em { margin-left: 2px; font-style: normal; font-weight: 500; color: var(--grey-500); }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background: var(--grey-100);
  font: inherit;
  font-size: 16px;
  color: var(--grey-900);
  resize: vertical;
  transition: border-color .2s, background-color .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--grey-400); }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.field-error { display: none; font-size: 13px; color: var(--red); }
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--red); background: #FFF6F7; }
.field.is-invalid .field-error { display: block; }

.agree { position: relative; display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.55; color: var(--grey-700); cursor: pointer; }
.agree input { position: absolute; width: 22px; height: 22px; margin: 0; opacity: 0; }
.agree-box {
  flex: none;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--grey-300);
  border-radius: 7px;
  display: grid;
  place-items: center;
  transition: background-color .2s, border-color .2s;
}
.agree-box svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.agree input:checked + .agree-box { border-color: var(--primary); background: var(--primary); }
.agree input:checked + .agree-box svg { opacity: 1; }
.agree input:focus-visible + .agree-box { outline: 3px solid rgba(58, 123, 213, .35); outline-offset: 2px; }
.agree.is-invalid .agree-box { border-color: var(--red); }
.agree a { margin-left: 4px; color: var(--grey-500); }

.form-alert { padding: 14px 16px; border-radius: 14px; background: #FFF1F2; font-size: 14px; line-height: 1.6; color: #C3283A; }
.form-alert a { font-weight: 700; color: inherit; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.modal-done { padding: 28px 0 4px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #E3F7F0; color: var(--green); }
.done-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.done-title { margin-top: 20px; font-size: 22px; font-weight: 700; }
.done-desc { margin: 8px 0 28px; font-size: 15px; line-height: 1.6; color: var(--grey-600); }

@keyframes modalIn { from { opacity: 0; transform: translateY(28px) scale(.98); } }
@keyframes sheetIn { from { transform: translateY(100%); } }
@keyframes fadeIn { from { opacity: 0; } }

/* ==========================================================
   모션 (동작 줄이기 설정 시 전부 꺼짐)
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-hero] {
    opacity: 0;
    transform: translateY(28px);
    animation: rise 1.1s var(--ease) forwards;
    animation-delay: calc(var(--d, 0) * 130ms + 250ms);
  }
  @keyframes rise { to { opacity: 1; transform: none; } }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(44px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* 인트로: 스크롤 따라 단어가 채워짐 */
  .js .intro { height: 260vh; padding: 0; }
  .js .intro-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center;
  }
  .js .intro-text .w { opacity: .16; }
  .js .intro-text .w.on { opacity: 1; }

  /* 목업 내부 요소 */
  .js .stage .anim {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
    transition-delay: calc(var(--i, 0) * 110ms + 350ms);
  }
  .js .stage.is-in .anim { opacity: 1; transform: none; }

  .js .stage .lines span {
    transform: scaleX(0);
    transition: transform .8s var(--ease);
    transition-delay: calc(var(--i, 0) * 120ms + 650ms);
  }
  .js .stage .lines--static span { transform: none; }
  .js .stage.is-in .lines span { transform: none; }

  .js .stage .spark .line { stroke-dashoffset: 100; transition: stroke-dashoffset 1.5s var(--ease) .7s; }
  .js .stage.is-in .spark .line { stroke-dashoffset: 0; }

  .js .stage .ring .val { stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease) .45s; }
  .js .stage.is-in .ring .val { stroke-dashoffset: calc(100 - var(--p)); }

  .js .stage .bar i { transform: scaleX(0); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 600ms); }
  .js .stage.is-in .bar i { transform: none; }

  .js .stage .cn-card { opacity: 0; transform: translate(-50%, -42%) scale(.9); }
  .js .stage.is-in .cn-card { opacity: 1; }
  .js .stage.is-in .cn-card--1 { transform: translate(-50%, -50%); transition-delay: .55s; }
  .js .stage.is-in .cn-card--2 { transform: translate(-50%, -50%) translateX(-112px) rotate(-8deg) scale(.92); transition-delay: .8s; }
  .js .stage.is-in .cn-card--3 { transform: translate(-50%, -50%) translateX(112px) rotate(8deg) scale(.92); transition-delay: .8s; }
  .js .stage.is-in .cn-make { animation: press .5s ease .45s; }
  @keyframes press { 40% { transform: scale(.94); } }

  /* 목업과 거의 동시에 캐릭터가 아래에서 쏙 올라와 살랑살랑 (스크롤을 빨리 내려도 보이게) */
  .js .stage .buddy {
    opacity: 0;
    transform: translateY(70%);
    transition: opacity .25s ease .15s, transform .5s cubic-bezier(.34, 1.5, .64, 1) .15s;
  }
  .js .stage.is-in .buddy { opacity: 1; transform: none; }
  .buddy img { animation: cheer 3.4s ease-in-out infinite; }
  .buddy--l img { animation-delay: -1.7s; }
  @keyframes cheer {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
  }

  /* 캐릭터 팔짝팔짝 */
  .pick-hop { animation: hop 2.8s cubic-bezier(.3, .7, .4, 1) infinite; animation-delay: calc(var(--i, 0) * .24s); }
  .pick-shadow { animation: hopShadow 2.8s cubic-bezier(.3, .7, .4, 1) infinite; animation-delay: calc(var(--i, 0) * .24s); }
  .pick:hover .pick-hop,
  .pick:focus-visible .pick-hop { animation-duration: 1.1s; animation-delay: 0s; }
  .pick:hover .pick-shadow,
  .pick:focus-visible .pick-shadow { animation-duration: 1.1s; animation-delay: 0s; }

  .viewer[open] .viewer-figure { animation: modalIn .35s var(--ease); }
  .modal[open] { animation: modalIn .38s var(--ease); }
  .modal[open]::backdrop { animation: fadeIn .3s ease; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live i, .caret { animation: none; }
}

/* ==========================================================
   반응형
   ========================================================== */
@media (max-width: 960px) {
  .feature-grid,
  .feature.is-reverse .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature.is-reverse .feature-text { order: 0; }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .founder-grid { grid-template-columns: minmax(0, 1fr); }
  .proofs-cap li { min-height: 0; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; --nav-h: 58px; }
  .nav-links { display: none; }
  .logo img { height: 16px; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 14, 28, .45) 0%, rgba(8, 14, 28, 0) 20%),
      linear-gradient(0deg, rgba(8, 14, 28, .88) 0%, rgba(8, 14, 28, .35) 55%, rgba(8, 14, 28, .1) 100%);
  }
  .hero-sub br { display: none; }
  .hero-cta .btn { flex: 1 1 0; padding: 0 16px; }
  .video-toggle { top: calc(var(--nav-h) + 12px); bottom: auto; width: 38px; height: 38px; }
  .feature-desc br { display: none; }
  .feature-points { display: none; } /* 모바일은 제목·설명만 남겨 짧게 */
  .stage { min-height: 0; padding: 48px 18px; border-radius: 26px; }
  .float { font-size: 13px; }
  .float--tr { top: -36px; right: 6px; }
  .float--bl { left: -6px; }
  .float--br { right: -6px; }
  .app { padding: 18px; }
  .section-desc br { display: none; }
  .checks { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .check { padding: 22px 22px 24px; border-radius: 20px; }
  .check-title br { display: none; }
  .check-icon { width: 28px; height: 28px; }
  .check-title { margin-top: 14px; font-size: 18px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .buddy { width: 72px; bottom: -10px; }
  .logo-tile { height: 92px; padding: 0 8px; border-radius: 20px; }
  .logo-tile img { height: calc(var(--h, 40px) * .68); }
  .logo-grid--3 .logo-tile:last-child { grid-column: 1 / -1; }
  .career-label { margin-top: 32px; }
  .career { gap: 8px; }
  .career li { height: 72px; border-radius: 16px; }
  .career img { height: calc(var(--h, 24px) * .8); }
  .proofs { padding-bottom: 32px; }
  .proof--patent { transform: rotate(-4deg) translateX(8px); }
  .proof--paper { margin-top: 24px; transform: rotate(3deg) translateX(-8px); }
  .proofs-cap { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .proofs-cap li { padding: 16px 18px; border-radius: 16px; }
  .press-thumb { width: 84px; border-radius: 14px; }
  .contact-panel { border-radius: 24px; }
  .contact-panel-head { flex-direction: column; align-items: stretch; }
  .contact-panel .btn { width: 100%; }
  .contact-panel-list { flex-direction: column; gap: 14px; margin-top: 28px; }
  .picks { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pick { flex-direction: row; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; }
  .pick-char { width: 68px; height: 72px; }
  .pick-hop { width: 62px; height: 62px; }
  .pick-shadow { width: 40px; margin-left: -20px; height: 7px; }
  .pick-title { font-size: 17px; }
  .pick-desc { font-size: 14px; }
  .viewer { padding: 60px 12px 84px; }
  .viewer-prev,
  .viewer-next { top: auto; bottom: 20px; transform: none; }
  .viewer-prev { left: calc(50% - 56px); }
  .viewer-next { right: calc(50% - 56px); }
  .press-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .press-card,
  .press-list li:first-child .press-card { min-height: 0; padding: 24px 22px 22px; border-radius: 20px; }
  .footer-grid { gap: 40px; }
  .footer-tagline { font-size: 21px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-info { margin-top: 40px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 640px) {
  .modal {
    width: 100%;
    max-height: 92dvh;
    margin: auto 0 0;
    border-radius: 24px 24px 0 0;
  }
  .modal-body { padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .seg span { height: 48px; font-size: 14px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .modal[open] { animation: sheetIn .42s var(--ease); }
}

@media (max-width: 420px) {
  .cn-card { width: 178px; padding: 16px; }
  .cn-card--2 { transform: translate(-50%, -50%) translateX(-84px) rotate(-8deg) scale(.9); }
  .cn-card--3 { transform: translate(-50%, -50%) translateX(84px) rotate(8deg) scale(.9); }
  .cn-stack { height: 250px; }
  .cn-cover { font-size: 19px; }
  .cn-head { font-size: 15px; }
  .cn-no { font-size: 22px; }
  .sim-top { gap: 14px; padding: 14px; }
  .ring { width: 72px; height: 72px; }
  .ring-num { font-size: 19px; }
}
@media (max-width: 420px) and (prefers-reduced-motion: no-preference) {
  .js .stage.is-in .cn-card--2 { transform: translate(-50%, -50%) translateX(-84px) rotate(-8deg) scale(.9); }
  .js .stage.is-in .cn-card--3 { transform: translate(-50%, -50%) translateX(84px) rotate(8deg) scale(.9); }
}

/* ==========================================================
   뉴스룸 (newsroom.html)
   ========================================================== */
.nr { padding-top: var(--nav-h); }
.nr-head { padding: clamp(56px, 7vw, 88px) 0 clamp(28px, 3.5vw, 40px); background: linear-gradient(180deg, #F1F5FD 0%, #FFFFFF 100%); }
.nr-head-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.nr-title { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; line-height: 1.25; letter-spacing: -.03em; }
.nr-desc { margin-top: 16px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--grey-600); }
.nr-mascot { flex: none; width: 112px; height: auto; transform-origin: 50% 100%; }

.nr-tabs-wrap {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  border-bottom: 1px solid var(--grey-100);
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
}
.nr-tabs { display: flex; gap: 8px; padding: 14px 0; overflow-x: auto; scrollbar-width: none; }
.nr-tabs::-webkit-scrollbar { display: none; }
.nr-tab {
  flex: none;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--grey-100);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--grey-700);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nr-tab:hover { background: var(--grey-200); }
.nr-tab.is-active { background: var(--grey-900); color: #fff; }

.nr-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
  padding-top: 40px;
  padding-bottom: clamp(96px, 11vw, 140px);
}
.nr-list { display: flex; flex-direction: column; }

/* 오늘의 기사 */
.nr-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--grey-100);
  color: inherit;
  text-decoration: none;
}
.nr-feature-visual {
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--t1, #E9F0FC), var(--t2, #EEEBFA));
  color: var(--ic, var(--primary));
  transition: transform .5s var(--ease);
}
.nr-feature-visual svg { width: 72px; height: 72px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.nr-feature:hover .nr-feature-visual { transform: scale(1.02); }
.nr-feature-title { margin-top: 12px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; transition: color .2s; }
.nr-feature .nr-item-excerpt { -webkit-line-clamp: 3; }
.nr-badge { padding: 3px 8px; border-radius: 7px; background: var(--grey-900); font-size: 12px; font-weight: 700; color: #fff; }

/* 기사 목록 */
.nr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--grey-500); }
.nr-cat { font-weight: 700; color: var(--primary); }
.nr-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--grey-100);
  color: inherit;
  text-decoration: none;
}
.nr-item-text { flex: 1; min-width: 0; }
.nr-item-title {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.nr-item:hover .nr-item-title,
.nr-feature:hover .nr-feature-title { color: var(--primary); }
.nr-item-excerpt {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nr-thumb {
  flex: none;
  width: 156px;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--t1, #E9F0FC), var(--t2, #EEEBFA));
  color: var(--ic, var(--primary));
}
.nr-thumb svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.nr-thumb img,
.nr-feature-visual img { width: 100%; height: 100%; object-fit: cover; }

/* 분야별 자리표시 색 */
[data-cat="사회"] { --t1: #E6EFFC; --t2: #D3E2FA; --ic: #3A7BD5; }
[data-cat="IT/과학"] { --t1: #E8F6F0; --t2: #CFEDE1; --ic: #12A37C; }
[data-cat="산업"] { --t1: #F1EDFB; --t2: #E1D9F6; --ic: #5B4BA3; }
[data-cat="경제"] { --t1: #FFF4E3; --t2: #FCE4BF; --ic: #D9820F; }
[data-cat="지역"] { --t1: #E4F5F9; --t2: #CBECF4; --ic: #1F93BA; }

.nr-more {
  width: 100%;
  height: 52px;
  margin-top: 32px;
  border-radius: 14px;
  background: var(--grey-100);
  font-size: 15px;
  color: var(--grey-800);
}
.nr-more:hover { background: var(--grey-200); }
.nr-empty { padding: 80px 0; text-align: center; font-size: 16px; color: var(--grey-500); }

/* 오른쪽 안내 */
.nr-aside { position: sticky; top: calc(var(--nav-h) + 92px); display: grid; gap: 12px; }
.nr-card { padding: 26px 24px; border-radius: 24px; background: var(--grey-50); }
.nr-card--cta { background: linear-gradient(135deg, #E9F0FC 0%, #EEEBFA 100%); }
.nr-card-title { font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }
.nr-card-desc { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--grey-600); }
.nr-card--cta .btn { height: 50px; margin-top: 20px; font-size: 15px; }
.nr-card-label { font-size: 14px; font-weight: 700; color: var(--grey-800); }
.nr-steps { list-style: none; margin-top: 14px; display: grid; gap: 12px; }
.nr-steps li { display: flex; gap: 10px; font-size: 14px; line-height: 1.55; color: var(--grey-700); }
.nr-steps b { flex: none; padding-top: 2px; font-family: Poppins, sans-serif; font-size: 12px; font-weight: 600; color: var(--primary); }

@media (prefers-reduced-motion: no-preference) {
  .nr-mascot { animation: hop 3.2s cubic-bezier(.3, .7, .4, 1) infinite; }
}

@media (max-width: 960px) {
  .nr-body { grid-template-columns: minmax(0, 1fr); }
  .nr-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .nr-mascot { width: 72px; }
  .nr-desc br { display: none; }
  .nr-tab { height: 36px; padding: 0 14px; font-size: 14px; }
  .nr-body { padding-top: 28px; }
  .nr-feature { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 28px; }
  .nr-feature-visual { border-radius: 20px; }
  .nr-item { align-items: flex-start; gap: 16px; padding: 20px 0; }
  .nr-item-title { font-size: 16px; }
  .nr-item .nr-item-excerpt { display: none; }
  .nr-thumb { width: 92px; border-radius: 12px; }
  .nr-thumb svg { width: 24px; height: 24px; }
  .nr-aside { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================
   정책 페이지 (policy/*.html)
   ========================================================== */
.policy { padding-top: var(--nav-h); }
.policy-head { padding-top: clamp(56px, 7vw, 88px); background: linear-gradient(180deg, #F1F5FD 0%, #FFFFFF 100%); }
.policy-title { font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.25; letter-spacing: -.03em; }
.policy-sub { margin-top: 12px; font-size: 15px; color: var(--grey-500); }
.policy-tabs {
  margin-top: 36px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--grey-200);
  scrollbar-width: none;
}
.policy-tabs::-webkit-scrollbar { display: none; }
.policy-tabs a {
  flex: none;
  margin-bottom: -1px;
  padding: 14px 16px;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--grey-500);
  text-decoration: none;
  transition: color .2s;
}
.policy-tabs a:hover { color: var(--grey-800); }
.policy-tabs a[aria-current="page"] { border-bottom-color: var(--grey-900); color: var(--grey-900); }

.policy-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
  padding-top: 48px;
  padding-bottom: clamp(96px, 11vw, 140px);
}
.policy-toc { position: sticky; top: calc(var(--nav-h) + 32px); }
.policy-toc p { margin-bottom: 12px; font-size: 13px; font-weight: 700; color: var(--grey-500); }
.policy-toc ol { list-style: none; display: grid; gap: 2px; }
.policy-toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--grey-600);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.policy-toc a:hover { background: var(--grey-100); color: var(--grey-900); }
.policy-toc a.is-active { background: var(--primary-50); font-weight: 600; color: var(--primary); }

.policy-content { max-width: 760px; font-size: 16px; line-height: 1.85; color: var(--grey-800); }
.policy-content > * + * { margin-top: 16px; }
.policy-content h2 {
  margin-top: 52px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.02em;
  color: var(--grey-900);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.policy-content h2 + * { margin-top: 14px; }
.policy-content ol,
.policy-content ul { padding-left: 1.4em; }
.policy-content ol { list-style: decimal; }
.policy-content ul { list-style: disc; }
.policy-content li + li { margin-top: 6px; }
.policy-content li > ul { margin-top: 6px; }
.policy-content li::marker { color: var(--grey-500); }
.policy-content a { color: var(--primary); text-underline-offset: 3px; }
.policy-meta {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--grey-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-600);
}
.policy-table { overflow-x: auto; border: 1px solid var(--grey-200); border-radius: 16px; }
.policy-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.6; }
.policy-content th,
.policy-content td { padding: 12px 16px; border-bottom: 1px solid var(--grey-100); text-align: left; vertical-align: top; }
.policy-content thead th { background: var(--grey-50); font-weight: 700; white-space: nowrap; color: var(--grey-700); }
.policy-content tbody th { width: 140px; background: var(--grey-50); font-weight: 600; color: var(--grey-700); }
.policy-content tr:last-child > * { border-bottom: 0; }
.policy-note { padding: 16px 20px; border-radius: 14px; background: var(--grey-50); font-size: 15px; }
.policy-note b { margin-right: 8px; }

.policy-person { padding: 24px 26px; border-radius: 20px; background: var(--grey-50); }
.policy-person-name { font-size: 20px; font-weight: 700; color: var(--grey-900); }
.policy-person-role { font-size: 14px; color: var(--grey-500); }
.policy-person dl { margin-top: 16px; display: grid; gap: 6px; }
.policy-person dl > div { display: flex; gap: 16px; font-size: 15px; }
.policy-person dt { flex: none; width: 56px; color: var(--grey-500); }
.policy-content .policy-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: step; }
.policy-content .policy-steps li {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: var(--grey-50);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  counter-increment: step;
}
.policy-content .policy-steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 960px) {
  .policy-body { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .policy-toc { display: none; }
}
@media (max-width: 768px) {
  .policy-tabs { margin-top: 28px; }
  .policy-tabs a { padding: 12px; font-size: 14px; }
  .policy-content { font-size: 15px; }
  .policy-content h2 { margin-top: 40px; font-size: 19px; }
  .policy-content .policy-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================
   기사 상세 (article.html → 실제 주소 /articles/{id})
   ========================================================== */
.ar { padding: calc(var(--nav-h) + clamp(28px, 4vw, 48px)) 0 clamp(96px, 11vw, 140px); }
.ar-wrap { max-width: calc(760px + var(--gutter) * 2); }

.ar-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--grey-500); }
.ar-crumb a { color: inherit; text-decoration: none; }
.ar-crumb a:hover { color: var(--grey-800); }

.ar-head { margin-top: clamp(28px, 3.5vw, 40px); }
.ar-head .nr-cat { font-size: 15px; }
.ar-title {
  margin-top: 10px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: -.03em;
  word-break: keep-all;
}
.ar-subs {
  list-style: none;
  margin-top: 20px;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
  display: grid;
  gap: 4px;
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--grey-700);
}

.ar-byline {
  margin-top: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ar-by { display: flex; align-items: center; gap: 12px; }
.ar-by img { width: 40px; height: 40px; padding: 4px; border-radius: 50%; background: var(--grey-50); }
.ar-by-name { font-size: 15px; font-weight: 700; }
.ar-by-date { margin-top: 2px; font-size: 13px; color: var(--grey-500); }
.ar-tools { display: flex; gap: 6px; }
.ar-tool {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 10px;
  background: var(--grey-50);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: var(--grey-700);
  cursor: pointer;
  transition: background-color .2s ease;
}
.ar-tool:has(svg) { align-items: center; padding-top: 0; }
.ar-tool:hover { background: var(--grey-100); }
.ar-tool small { margin-left: 1px; font-size: 12px; font-weight: 700; }
.ar-tool svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.ar-figure { margin-top: 36px; }
.ar-visual {
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--t1, #E9F0FC), var(--t2, #EEEBFA));
  color: var(--ic, var(--primary));
}
.ar-visual svg { width: 88px; height: 88px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.ar-visual img { width: 100%; height: 100%; object-fit: cover; }
.ar-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--grey-500); }

.ar-body {
  margin-top: 36px;
  font-size: calc(18px * var(--fs, 1));
  line-height: 1.85;
  color: var(--grey-800);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.ar-body p + p { margin-top: 1.2em; }

.ar-note {
  margin-top: 44px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--grey-50);
  display: grid;
  gap: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-600);
}
.ar-note a { color: var(--grey-800); font-weight: 600; text-underline-offset: 3px; }

.ar-actions { margin-top: 24px; display: flex; justify-content: space-between; gap: 10px; }
.ar-back, .ar-ask { gap: 4px; background: var(--grey-100); color: var(--grey-800); text-decoration: none; }
.ar-back:hover, .ar-ask:hover { background: var(--grey-200); }
.ar-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.ar-more { margin-top: 72px; }
.ar-more-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.ar-more .nr-list { margin-top: 8px; }
.ar-more .nr-item { padding: 20px 0; }
.ar-more .nr-item:last-child { border-bottom: 0; }
.ar-more .nr-item-title { font-size: 17px; }
.ar-more .nr-thumb { width: 120px; }

.ar-cta {
  margin-top: 48px;
  padding: 30px 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, #E9F0FC 0%, #EEEBFA 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ar-cta-title { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.ar-cta-desc { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--grey-600); }
.ar-cta .btn { flex: none; }

.ar-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 60;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--grey-900);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity .25s ease, transform .25s var(--ease);
  pointer-events: none;
}
.ar-toast:empty { display: none; }
.ar-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 768px) {
  .ar-byline { flex-direction: column; align-items: flex-start; }
  .ar-tool { width: 36px; height: 36px; border-radius: 10px; }
  .ar-figure { margin-top: 28px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
  .ar-visual { border-radius: 0; }
  .ar-figure figcaption { padding: 0 var(--gutter); }
  .ar-body { margin-top: 28px; font-size: calc(17px * var(--fs, 1)); }
  .ar-more .nr-thumb { width: 96px; }
  .ar-cta { flex-direction: column; align-items: stretch; padding: 26px 22px; }
  .ar-cta .btn { width: 100%; }
}

@media print {
  .nav, .footer, .skip, .ar-crumb, .ar-tools, .ar-actions, .ar-more, .ar-cta, .ar-toast, .modal { display: none !important; }
  .ar { padding: 0; }
  .ar-body { font-size: 12pt; }
}

/* 나머지 분야 자리표시 색 (서버에서 채우는 목록용) */
[data-cat="정치"] { --t1: #FBEAEA; --t2: #F6D5D5; --ic: #C84B4B; }
[data-cat="생활/문화"] { --t1: #FFF0F6; --t2: #FBDCEA; --ic: #C9407D; }
[data-cat="세계"] { --t1: #EAF0FF; --t2: #D6E0FB; --ic: #3457C9; }
.nr-tab { display: inline-flex; align-items: center; text-decoration: none; }
