/* =========================================================
   원티어 (WONTIER) · 공급사 파트너십 홈페이지
   딥 로열 블루 포인트 · 라이트 모드 고정
   ========================================================= */

@font-face {
  font-family: "Pretendard Local";
  src: url("assets/fonts/PretendardVariable.woff2") format("woff2-variations"),
       url("assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --canvas: #FFFFFF;
  --soft: #F3F5F9;
  --soft-2: #F8FAFC;
  --card: #FFFFFF;
  --line: rgba(17, 22, 31, 0.06);
  --line-solid: #E6EAF0;
  --line-strong: #D0D7E2;

  --ink: #11161F;
  --body: #333D4B;
  --muted: #6B7684;

  --accent: #1B64DA;
  --accent-hover: #1451B4;
  --accent-soft: #E8F1FD;
  --accent-on-dark: #7CB2FF;
  --accent-ring: rgba(27, 100, 218, 0.16);
  --btn-shadow: 0 8px 22px rgba(27, 100, 218, 0.24);
  --card-shadow: 0 2px 8px rgba(15, 23, 42, 0.025), 0 16px 38px rgba(15, 23, 42, 0.045);
  --showcase-grad: linear-gradient(160deg, #F4F7FC 0%, #EAF0F9 100%);
  --dark-grad: radial-gradient(125% 140% at 100% 0%, #1E293B 0%, #121722 60%, #0C0F17 100%);
  --dark-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);

  --slate-ink: #1D3557;
  --slate-bg: #F0F4F8;
  --warn-ink: #991B1B;
  --warn-bg: #FEF2F2;

  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 14px;

  --header-h: 68px;
  --container: 1160px;
  --gutter: 40px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Pretendard Local", "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--canvas);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.drawer-open,
html.drawer-open body {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

strong {
  color: var(--ink);
  font-weight: 650;
}

.num,
table,
.stat-value,
.inspector,
.metric dd {
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4 {
  color: var(--ink);
  text-wrap: balance;
}

p,
li,
dd,
td {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

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

.line {
  display: block;
  text-wrap: balance;
}

/* JS 전용 컨트롤은 JS가 켜진 경우에만 노출 */
.js-only {
  display: none;
}

html.js-enabled .js-only {
  display: block;
}

html.js-enabled .reply-actions.js-only {
  display: flex;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: var(--btn-shadow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.btn-block {
  width: 100%;
}

.icon-external {
  flex: none;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  flex: none;
  min-height: 44px;
  align-items: center;
}

.brand-mark {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--ink);
}

.brand-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  line-height: 1.2;
}

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.primary-nav a:hover {
  color: var(--ink);
}

.primary-nav a.is-active {
  color: var(--ink);
  font-weight: 650;
  background: var(--soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.header-pdf {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.header-pdf:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-header {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

/* 첫 화면에서는 Hero CTA가 유일한 포인트 버튼이 되도록 헤더 CTA를 라이트 알약으로 낮춤 */
html.js-enabled .btn-header.is-quiet {
  background: #FFFFFF;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

html.js-enabled .btn-header.is-quiet:hover {
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: #FFFFFF;
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle-lines {
  display: grid;
  gap: 4px;
  width: 18px;
}

.menu-toggle-lines i {
  display: block;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
}

.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  overflow: hidden;
}

.read-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------------- Drawer (mobile) ---------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(17, 17, 19, 0.32);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  width: min(88vw, 380px);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(17, 17, 19, 0.10);
  padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  overflow-y: auto;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-backdrop.is-open {
  opacity: 1;
}

.drawer[hidden],
.drawer-backdrop[hidden] {
  display: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  margin-bottom: 8px;
}

.drawer-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.drawer-title-sub {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.drawer-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #FFFFFF;
  cursor: pointer;
  color: var(--ink);
}

.drawer-nav ul {
  display: grid;
  border-top: 1px solid var(--line);
}

.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.drawer-nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.drawer-no {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  width: 22px;
}

.drawer-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

/* ---------------- Section base ---------------- */
.section {
  padding: 140px 0;
}

.section-soft {
  background: var(--soft);
}

.section-head {
  max-width: 880px;
  margin-bottom: 56px;
}

.eyebrow {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.28;
  font-weight: 780;
  letter-spacing: -0.035em;
}

.section-lead {
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 680px;
}

/* ---------------- Hero ---------------- */
.hero {
  padding: 88px 0 124px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 52px;
  align-items: center;
}

.hero-kicker {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-title span {
  display: block;
  text-wrap: balance;
}

.hero-lead {
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.68;
  color: var(--body);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line-solid);
}

.metric {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding-right: 20px;
}

.metric + .metric {
  padding-left: 20px;
  border-left: 1px solid var(--line-solid);
}

.metric dd {
  font-size: clamp(28px, 2.7vw, 36px);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
}

.metric dt {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.nb {
  white-space: nowrap;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--soft);
}

/* ---------------- 01 Criteria (Bento 2x2 + Dark Callout) ---------------- */
.bento-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px 38px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-no {
  font-size: 15px;
  font-weight: 750;
  color: var(--accent);
  line-height: 1;
}

.bento-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--warn-bg);
  color: var(--warn-ink);
  font-size: 12.5px;
  font-weight: 700;
}

.bento-title {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.bento-card p {
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--body);
}

.dark-callout {
  margin-top: 20px;
  background: var(--dark-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--dark-shadow);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 38px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
}

.dark-callout-title {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}

.dark-callout-desc {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
}

/* ---------------- 02 Method ---------------- */
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: stretch;
}

.stage-visual {
  position: relative;
}

.stage-sticky {
  position: sticky;
  top: 108px;
}

.stage-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: var(--soft);
  margin-bottom: 16px;
}

.stage-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.stage-tab-no {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}

.stage-tab:hover {
  color: var(--ink);
}

.stage-tab.is-active {
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(17, 17, 19, 0.06);
}

.stage-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--soft);
}

.stage-steps {
  display: grid;
  gap: 12px;
  padding-bottom: max(18vh, 120px);
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44vh;
  padding: 36px 0;
  border-top: 1px solid var(--line-solid);
}

.step-card:first-child {
  border-top: 0;
  padding-top: 8px;
}

.step-label {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.step-title {
  font-size: clamp(23px, 2.3vw, 30px);
  font-weight: 760;
  line-height: 1.34;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.step-desc {
  font-size: 17.5px;
  line-height: 1.72;
  color: var(--body);
}

.step-card::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 36px;
  bottom: 36px;
  width: 2.5px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 0.45s var(--ease);
}

.step-card:first-child::before {
  top: 8px;
}

html.js-enabled .stage.is-enhanced .step-card.is-current::before {
  transform: scaleY(1);
}

html.js-enabled .stage.is-enhanced .step-card.is-current .step-label {
  color: var(--accent);
}

/* ---------------- 03 Track record ---------------- */
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 20px;
  margin-bottom: 20px;
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  box-shadow: var(--card-shadow);
}

.stat-main {
  background: var(--dark-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--dark-shadow);
  color: #FFFFFF;
}

.stat dt {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  font-size: 15px;
  font-weight: 650;
  color: var(--muted);
}

.stat-main dt {
  color: rgba(255, 255, 255, 0.72);
}

.stat-main .stat-label {
  color: var(--accent-on-dark);
  font-weight: 700;
}

.stat-period {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.stat-main .stat-period {
  color: rgba(255, 255, 255, 0.56);
}

.stat dd {
  display: grid;
  gap: 6px;
}

.stat-value {
  font-size: clamp(30px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
}

.stat-main .stat-value {
  font-size: clamp(38px, 4vw, 52px);
  color: #FFFFFF;
}

.stat-exact {
  font-size: 14px;
  color: var(--muted);
}

.stat-main .stat-exact {
  color: rgba(255, 255, 255, 0.72);
}

.chart-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 38px 40px 30px;
  box-shadow: var(--card-shadow);
}

.chart-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.chart-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-line {
  display: inline-block;
  flex: none;
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--accent);
}

.legend-bar {
  display: inline-block;
  flex: none;
  width: 10px;
  height: 12px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, #CFCFD5 0%, #E6E6EB 100%);
}

.inspector {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 8px 32px;
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  margin-bottom: 28px;
}

.inspector-month {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--accent);
  border-radius: 999px;
  padding: 6px 14px;
  line-height: 1.3;
  white-space: nowrap;
}

.inspector-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.inspector-value {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}

.inspector-exact {
  font-size: 13px;
  color: var(--muted);
}

.inspector-summary {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 2px;
}

.chart-plot {
  position: relative;
  height: 380px;
  user-select: none;
  -webkit-user-select: none;
}

.chart-area {
  position: absolute;
  top: 34px;
  bottom: 56px;
  left: 44px;
  right: 8px;
}

.chart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-svg .grid line {
  stroke: #E5E5EA;
  stroke-width: 1;
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
}

.chart-svg .grid line.base {
  stroke: #C7C7CC;
  stroke-dasharray: none;
}

.chart-svg .line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* 5단계 계단형 막대 */
.stage-bars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stage-bar {
  position: absolute;
  bottom: 0;
  width: 12%;
  margin-left: -6%;
  min-height: 3px;
}

.stage-bar-fill {
  position: absolute;
  inset: 0;
  border-radius: 10px 10px 2px 2px;
  background: linear-gradient(180deg, #D5D5DB 0%, #EAEAEE 100%);
  transform-origin: 50% 100%;
  transition: background-color 0.2s var(--ease);
}

.stage-bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #2B74EA 0%, #1752B8 100%);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.stage-bar.is-active .stage-bar-fill::after {
  opacity: 1;
}

.stage-bar-value {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  z-index: 3;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.stage-bar.is-active .stage-bar-value {
  color: var(--ink);
  font-weight: 750;
}

.chart-curve {
  pointer-events: none;
}

.chart-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chart-node {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--accent);
}

.y-labels span,
.x-labels .x-label {
  position: absolute;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1;
}

.y-labels span {
  right: calc(100% + 10px);
  transform: translateY(-50%);
}

.x-labels .x-label {
  top: calc(100% + 12px);
  display: grid;
  justify-items: center;
  gap: 5px;
  transform: translateX(-50%);
  text-align: center;
}

.x-stage {
  font-size: 13px;
  font-weight: 650;
  color: var(--body);
  transition: color 0.2s var(--ease);
}

.x-label.is-active .x-stage {
  color: var(--ink);
  font-weight: 750;
}

.x-short {
  display: none;
}

.x-date {
  font-size: 12px;
}

.chart-marker {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 9px var(--accent-ring);
  pointer-events: none;
  transition: left 0.22s var(--ease), top 0.22s var(--ease);
}

.chart-hits {
  position: absolute;
  top: -34px;
  bottom: -56px;
  left: 0;
  right: 0;
  touch-action: pan-y;
}

.chart-hit {
  position: absolute;
  top: 0;
  bottom: 0;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
}

.chart-hit:focus-visible {
  outline: 2px solid #111113;
  outline-offset: -2px;
  background: rgba(17, 17, 19, 0.04);
}

/* 차트 드로잉 애니메이션 (JS 켜짐 + 정적 모드 아님 + 모션 허용) */
html.js-enabled:not(.is-static) .chart-card.is-armed .line-layer {
  clip-path: inset(0 100% 0 0);
}

html.js-enabled:not(.is-static) .chart-card.is-armed .stage-bar-fill {
  transform: scaleY(0);
}

html.js-enabled:not(.is-static) .chart-card.is-armed .stage-bar-value,
html.js-enabled:not(.is-static) .chart-card.is-armed .chart-node,
html.js-enabled:not(.is-static) .chart-card.is-armed .chart-marker {
  opacity: 0;
}

html.js-enabled:not(.is-static) .chart-card.is-drawn .line-layer {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.5s var(--ease) 0.35s;
}

html.js-enabled:not(.is-static) .chart-card.is-drawn .stage-bar-fill {
  transform: scaleY(1);
  transition: transform 0.75s var(--ease) calc(var(--i) * 0.14s);
}

html.js-enabled:not(.is-static) .chart-card.is-drawn .stage-bar-value {
  opacity: 1;
  transition: opacity 0.4s var(--ease) calc(0.5s + var(--i) * 0.14s), color 0.2s var(--ease);
}

html.js-enabled:not(.is-static) .chart-card.is-drawn .chart-node {
  opacity: 1;
  transition: opacity 0.3s var(--ease) calc(0.45s + var(--i) * 0.3s);
}

html.js-enabled:not(.is-static) .chart-card.is-drawn .chart-marker {
  opacity: 1;
  transition: opacity 0.4s var(--ease) 1.7s, left 0.22s var(--ease), top 0.22s var(--ease);
}

.chart-hint {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.hint-touch {
  display: none;
}

@media (hover: none) {
  .hint-pointer {
    display: none;
  }

  .hint-touch {
    display: inline;
  }
}

.chart-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-solid);
  font-size: 13px;
  color: var(--muted);
}

/* ---------------- 04 Principles & Role Bento ---------------- */
.principle-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.principle {
  background: var(--soft);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.principle-no {
  font-size: 15px;
  font-weight: 750;
  color: var(--accent);
}

.principle h3 {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.principle p {
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--body);
}

.role-bento {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.role-box {
  border-radius: var(--radius-lg);
  padding: 40px 42px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.role-box-light {
  background: var(--soft);
  color: var(--ink);
}

.role-box-dark {
  background: var(--dark-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--dark-shadow);
  color: #FFFFFF;
}

.role-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.role-box-light .role-badge {
  background: #FFFFFF;
  color: var(--ink);
}

.role-box-dark .role-badge {
  background: rgba(255, 255, 255, 0.10);
  color: var(--accent-on-dark);
}

.role-heading {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 760;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.role-box-dark .role-heading {
  color: #FFFFFF;
}

.role-list {
  margin-top: 4px;
  display: grid;
  gap: 10px;
}

.role-list li {
  position: relative;
  padding-left: 18px;
  font-size: 16.5px;
  line-height: 1.6;
}

.role-box-light .role-list li {
  color: var(--body);
}

.role-box-dark .role-list li {
  color: rgba(255, 255, 255, 0.84);
}

.role-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.65;
}

/* ---------------- 05 Partnership ---------------- */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.road-step {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.road-no {
  font-size: 14px;
  font-weight: 750;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.road-step h3 {
  font-size: 19px;
  font-weight: 760;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.road-step p:last-child {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--body);
}

.reply-card {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: 32px 52px;
  align-items: start;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--card-shadow);
}

.reply-head,
.reply-body,
.inquiry-form,
.form-field {
  min-width: 0;
}

.reply-title {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.reply-note {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
}

.reply-mail {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.inquiry-form {
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-label {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.form-input,
.form-textarea {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--soft);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.form-input {
  min-height: 48px;
}

.form-textarea {
  resize: vertical;
  min-height: 96px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.form-input:hover,
.form-textarea:hover {
  background: #ECEEF2;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--accent);
}

.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: var(--warn-ink);
  background: var(--warn-bg);
}

.form-foot {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.form-consent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.form-consent input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex: none;
}

.form-consent.is-invalid {
  color: var(--warn-ink);
}

.form-status {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-error {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border: 1px solid rgba(153, 27, 27, 0.22);
}

.form-status.is-success {
  background: var(--slate-bg);
  color: var(--slate-ink);
  border: 1px solid rgba(29, 53, 87, 0.18);
}

.btn-submit {
  min-width: 172px;
}

.btn-submit[disabled] {
  opacity: 0.65;
  cursor: wait;
}

/* ---------------- Footer (Apple/Toss Minimalist) ---------------- */
.site-footer {
  border-top: 1px solid var(--line-solid);
  background: var(--canvas);
  padding: 48px 0 56px;
}

.footer-min-inner {
  display: grid;
  gap: 16px;
}

.footer-min-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-min-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-min-brand .brand-mark {
  font-size: 14px;
  letter-spacing: 0.18em;
}

.footer-min-tagline {
  font-size: 13px;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
}

.footer-min-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.footer-min-meta span + span::before {
  content: "|";
  margin: 0 10px;
  color: var(--line-strong);
}

.footer-min-meta b {
  font-weight: 500;
  color: var(--body);
}

.footer-min-copy {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.8;
}

.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.footer-top:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------------- Toast ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 180;
  max-width: min(560px, calc(100vw - 32px));
  padding: 14px 22px;
  border-radius: 18px;
  background: rgba(17, 17, 19, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
  box-shadow: 0 12px 32px rgba(17, 17, 19, 0.18);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast:empty {
  padding: 0;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------------- Reveal ---------------- */
html.js-enabled:not(.is-static) .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js-enabled:not(.is-static) .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199px) {
  :root {
    --gutter: 32px;
  }

  .brand-sub {
    display: none;
  }

  .primary-nav a {
    padding: 0 11px;
  }

  .roadmap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 1023px) {
  .section {
    padding: 96px 0;
  }

  .hero {
    padding: 64px 0 88px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-frame {
    aspect-ratio: 16 / 10;
  }

  .hero-frame img {
    object-position: 62% 50%;
  }

  .check-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .check-card {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 8px;
  }

  .check-no {
    grid-row: 1 / span 3;
    margin: 4px 0 0;
  }

  .check-card .link-chip {
    grid-column: 2;
  }

  .key-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  /* 설계 방식: 고정 없이 자연스러운 세로 흐름 */
  .stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .stage-sticky {
    position: static;
  }

  .stage-steps {
    padding-bottom: 0;
  }

  .stage-tabs,
  .stage-panels {
    display: none;
  }

  .step-card {
    min-height: 0;
    padding: 32px 0;
  }

  .step-card::before {
    display: none;
  }

  .stat-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .stat-main {
    grid-column: 1 / -1;
  }

  .bento-grid-2,
  .role-bento,
  .principle-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .roadmap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .reply-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 36px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-note {
    grid-column: 1;
  }
}

@media (max-width: 899px) {
  :root {
    --header-h: 60px;
  }

  .primary-nav,
  .header-pdf {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
    gap: 12px;
  }

  .header-actions {
    gap: 10px;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-lead {
    font-size: 16px;
    margin-top: 16px;
  }

  .hero {
    padding: 40px 0 64px;
  }

  .hero-badge {
    font-size: 11px;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
  }

  .hero-lead {
    font-size: 16px;
    margin-top: 20px;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 36px;
  }

  .metric,
  .metric + .metric {
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line-solid);
  }

  .metric dd {
    font-size: 24px;
    flex: none;
  }

  .metric dt {
    font-size: 14px;
  }

  .hero-frame {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
  }

  .hero-frame img {
    object-position: 64% 50%;
  }

  .check-group + .check-group {
    margin-top: 44px;
  }

  .check-group-title {
    font-size: 19px;
  }

  .check-card {
    padding: 22px 20px 20px;
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .check-title {
    font-size: 17px;
  }

  .check-card p {
    font-size: 15px;
  }

  .focus-card {
    padding: 24px 22px;
  }

  .focus-card p,
  .key-banner-text {
    font-size: 16px;
  }

  .key-banner {
    margin-top: 44px;
    padding-top: 28px;
  }

  .key-banner-title {
    font-size: 20px;
  }

  .origin {
    margin-bottom: 40px;
    padding-left: 18px;
  }

  .origin-text {
    font-size: 17px;
  }

  .stage-frame {
    border-radius: var(--radius-md);
  }

  .step-card {
    padding: 28px 0;
  }

  .step-desc {
    font-size: 16px;
  }

  .stat-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .stat {
    padding: 22px;
    gap: 12px;
  }

  .chart-card {
    padding: 22px 18px 20px;
    border-radius: var(--radius-md);
  }

  .chart-title {
    font-size: 18px;
  }

  .chart-legend {
    font-size: 13px;
  }

  .inspector {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px 16px;
    padding: 16px;
    margin-bottom: 20px;
  }

  .inspector-month {
    grid-column: 1 / -1;
    justify-self: start;
    font-size: 14px;
  }

  .inspector-value {
    font-size: 19px;
  }

  .inspector-summary {
    font-size: 15px;
  }

  .chart-plot {
    height: 320px;
  }

  .chart-area {
    top: 30px;
    bottom: 50px;
    left: 34px;
    right: 2px;
  }

  .chart-hits {
    top: -30px;
    bottom: -50px;
  }

  .stage-bar {
    width: 15%;
    margin-left: -7.5%;
  }

  .stage-bar-fill {
    border-radius: 8px 8px 2px 2px;
  }

  /* 좁은 화면에서는 곡선이 오른쪽 위로 이어지므로 금액 라벨을 노드 왼쪽 위로 비켜 둔다 */
  .stage-bar-value {
    left: auto;
    right: calc(50% - 10px);
    bottom: calc(100% + 12px);
    transform: none;
    padding: 1px 4px;
    font-size: 12px;
  }

  .y-labels span {
    right: calc(100% + 6px);
    font-size: 11px;
  }

  .x-stage {
    font-size: 12px;
  }

  .x-date {
    font-size: 11px;
  }

  .desk-br {
    display: none;
  }

  .bento-card,
  .dark-callout,
  .role-box,
  .principle {
    padding: 26px 24px;
    border-radius: var(--radius-md);
  }

  .roadmap {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .road-step {
    padding: 24px 22px;
    border-radius: var(--radius-md);
  }

  .reply-card {
    margin-top: 20px;
    padding: 28px 22px;
    border-radius: var(--radius-md);
  }

  .reply-title {
    font-size: 21px;
  }

  .form-row-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-submit {
    width: 100%;
  }

  .site-footer {
    padding: 40px 0 44px;
  }

  .footer-min-tagline {
    border-left: 0;
    padding-left: 0;
    width: 100%;
  }

  .footer-min-meta {
    display: grid;
    gap: 4px;
  }

  .footer-min-meta span + span::before {
    display: none;
  }
}

@media (max-width: 599px) {
  .btn-header {
    display: none;
  }

  .toast {
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    padding: 14px 18px;
    transform: translateY(16px);
  }

  .toast.is-visible {
    transform: translateY(0);
  }

  .check-group-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 359px) {
  :root {
    --gutter: 16px;
  }

  .hero-badge {
    font-size: 10px;
    letter-spacing: 0.02em;
    padding: 0 10px;
  }

  .hero-title {
    font-size: 30px;
  }

  .section-title {
    font-size: 25px;
  }

  .metric dd {
    font-size: 21px;
  }

  .metric dt {
    font-size: 13px;
  }

  .inspector-value {
    font-size: 17px;
  }

  .stage-tab {
    font-size: 14px;
  }

  .btn {
    padding: 0 18px;
    font-size: 15px;
  }
}

/* 좁은 휴대폰: 단계 차트 · 인스펙터를 가로 넘침 없이 재배치 (단계별 탭 영역 44px 이상 유지) */
@media (max-width: 479px) {
  .chart-plot {
    height: 300px;
  }

  .chart-area {
    left: 2px;
    right: 2px;
  }

  .y-labels {
    display: none;
  }

  .stage-bar {
    width: 17%;
    margin-left: -8.5%;
  }

  .x-full {
    display: none;
  }

  .x-short {
    display: inline;
  }
}

@media (max-width: 419px) {
  .inspector {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .inspector-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: 12px;
  }

  .inspector-label {
    grid-row: 1 / span 2;
  }

  .inspector-value,
  .inspector-exact {
    text-align: right;
    white-space: nowrap;
  }

  .inspector-note {
    display: block;
    padding-top: 10px;
    border-top: 1px solid var(--line-solid);
  }

  .inspector-note .inspector-label {
    margin-bottom: 2px;
  }

  .chart-card {
    padding: 20px 12px 18px;
  }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  html.js-enabled .reveal,
  html.js-enabled .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  html.js-enabled .chart-card .line-layer {
    clip-path: none !important;
  }

  html.js-enabled .chart-card .stage-bar-fill {
    transform: none !important;
  }

  html.js-enabled .chart-card .stage-bar-value,
  html.js-enabled .chart-card .chart-node,
  html.js-enabled .chart-card .chart-marker {
    opacity: 1 !important;
  }
}

html.is-static {
  scroll-behavior: auto;
}

html.is-static *,
html.is-static *::before,
html.is-static *::after {
  transition: none !important;
  animation: none !important;
}

/* ---------------- Print (A4 세로) ---------------- */
@page {
  size: A4 portrait;
  margin: 14mm 12mm;
}

@media print {
  :root {
    --gutter: 0px;
  }

  html,
  body {
    background: #FFFFFF !important;
    font-size: 11pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .site-header,
  .drawer,
  .drawer-backdrop,
  .toast,
  .skip-link,
  .btn,
  .hero-actions,
  .reply-actions,
  .stage-tabs,
  .stage-panels,
  .chart-hint,
  .chart-hits,
  .link-chip,
  .chip-row,
  .footer-top {
    display: none !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  .chart-card .line-layer {
    clip-path: none !important;
  }

  .chart-card .stage-bar-fill {
    transform: none !important;
  }

  .stage-bar-value,
  .chart-node,
  .chart-marker {
    opacity: 1 !important;
  }

  .section,
  .hero {
    padding: 10mm 0 !important;
    background: #FFFFFF !important;
  }

  .section + .section {
    border-top: 1px solid #E5E5EA;
  }

  .hero-grid,
  .stage,
  .reply-card,
  .key-banner,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6mm !important;
  }

  .hero-frame,
  .stage-frame {
    aspect-ratio: 16 / 7 !important;
  }

  .hero-frame.hero-showcase,
  .stage-frame.stage-boards {
    aspect-ratio: auto !important;
  }

  .stage-sticky {
    position: static !important;
  }

  .step-card {
    min-height: 0 !important;
    padding: 4mm 0 !important;
    opacity: 1 !important;
  }

  .step-outputs {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 3mm 0 0 !important;
    padding: 3mm 4mm !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    border: 1px solid #E5E5EA !important;
  }

  .section-title {
    font-size: 20pt;
  }

  .hero-title {
    font-size: 24pt;
  }

  .check-cards,
  .capability-row,
  .principle-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .stat-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .stat-main {
    grid-column: auto !important;
  }

  .check-card,
  .focus-card,
  .stat,
  .chart-card,
  .capability,
  .principle,
  .role-table tr,
  .road-step,
  .reply-card,
  .promise,
  .key-banner,
  .footer-info div {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .chart-plot {
    height: 72mm;
  }

  a {
    text-decoration: none;
  }
}

/* =========================================================
   Execution Showcase (Hero D2C Mockup & Method Boards)
   ========================================================= */
.hero-copy,
.hero-visual,
.stage-visual,
.stage-steps,
.hero-frame.hero-showcase,
.hs-stage,
.hs-feeds,
.hs-ad-card,
.hs-ad-body,
.hs-phone-wrap,
.hs-phone,
.hs-phone-screen,
.hs-pdp-body,
.stage-frame.stage-boards,
.stage-board,
.sb-row,
.sb-col,
.sb-node {
  min-width: 0;
}

.hero-frame.hero-showcase {
  aspect-ratio: auto;
  width: 100%;
  padding: 24px;
  border: 0;
  background: var(--showcase-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  display: grid;
  gap: 16px;
}

.hs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.hs-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hs-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
}

.hs-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 14px;
  align-items: center;
}

.hs-feeds {
  display: grid;
  gap: 10px;
}

.hs-col-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--muted);
  padding: 0 2px;
}

.hs-ad-card {
  background: #FFFFFF;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.045), 0 12px 26px rgba(15, 23, 42, 0.045);
  display: grid;
}

.hs-ad-thumb {
  position: relative;
  aspect-ratio: 15 / 10;
  overflow: hidden;
  background: var(--soft-2);
}

.hs-ad-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hs-ad-thumb-sns img {
  object-position: 50% 56%;
}

.hs-ad-thumb-search img {
  object-position: 50% 50%;
}

.hs-ad-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(17, 17, 19, 0.82);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.hs-ad-body {
  padding: 10px 12px 11px;
  display: grid;
  gap: 3px;
}

.hs-ad-tag {
  display: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hs-ad-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hs-phone-wrap {
  display: flex;
  justify-content: center;
}

.hs-phone {
  width: 100%;
  max-width: 286px;
  background: #111113;
  border-radius: 30px;
  padding: 7px;
  box-shadow: 0 22px 44px rgba(17, 17, 19, 0.16), 0 2px 6px rgba(17, 17, 19, 0.08);
}

.hs-phone-screen {
  background: #FFFFFF;
  border-radius: 23px;
  overflow: hidden;
  display: grid;
}

.hs-phone-top {
  height: 28px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}

.hs-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.hs-island {
  width: 52px;
  height: 13px;
  border-radius: 999px;
  background: #111113;
}

.hs-store-tag {
  justify-self: end;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.hs-pdp-hero {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.hs-pdp-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hs-pdp-chip {
  position: absolute;
  left: 10px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(17, 17, 19, 0.08);
}

.hs-pdp-body {
  padding: 12px 13px 13px;
  display: grid;
  gap: 7px;
}

.hs-pdp-eyebrow {
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hs-pdp-title {
  font-size: 14.5px;
  font-weight: 780;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hs-pdp-desc {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--body);
}

.hs-pdp-option {
  margin-top: 2px;
  padding: 8px 10px;
  border: 1.5px solid #111113;
  border-radius: 10px;
  background: var(--soft-2);
  display: grid;
  gap: 2px;
}

.hs-opt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.hs-opt-row strong {
  font-size: 12.5px;
  font-weight: 750;
  color: var(--ink);
}

.hs-opt-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #111113;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 650;
  flex: none;
}

.hs-opt-sub {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

.hs-pdp-cta {
  margin-top: 2px;
  min-height: 34px;
  border-radius: 9px;
  background: #111113;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Stage 3-Step Switching Boards */
.stage-frame.stage-boards {
  aspect-ratio: auto;
  display: grid;
  border: 0;
  background: var(--showcase-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.stage-board {
  grid-area: 1 / 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}

.stage-board.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s;
}

.sb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.sb-tag {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  color: var(--ink);
  padding: 5px 11px;
  border-radius: 999px;
  background: #FFFFFF;
}

.sb-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.sb-rows {
  flex: 1;
  display: grid;
  gap: 12px;
}

.sb-row {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.sb-row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.sb-row-top strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.sb-row-top span {
  font-size: 12.5px;
  color: var(--muted);
}

.sb-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--soft);
  overflow: hidden;
}

.sb-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.sb-compare {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sb-col {
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.sb-col-muted {
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.sb-col-strong {
  background: var(--dark-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.sb-col-label {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.sb-col ul {
  display: grid;
  gap: 7px;
  font-size: 14px;
  line-height: 1.45;
}

.sb-col li {
  position: relative;
  padding-left: 14px;
}

.sb-col li::before {
  content: "·";
  position: absolute;
  left: 2px;
  font-weight: 700;
}

.sb-grid4 {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sb-node {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 4px;
}

.sb-node .num {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.sb-node strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.sb-node p {
  font-size: 13px;
  color: var(--body);
  line-height: 1.45;
}

.sb-node-dark {
  background: var(--dark-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-color: transparent;
}

.sb-node-dark .num {
  color: rgba(255, 255, 255, 0.7);
}

.sb-node-dark strong,
.sb-node-dark p {
  color: #FFFFFF;
}

.sb-foot {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .stage-tabs {
    display: flex;
  }

  .hs-stage {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 18px;
  }

  .hs-phone {
    max-width: 310px;
  }
}

@media (max-width: 767px) {
  .hero-frame.hero-showcase,
  .stage-board {
    padding: 16px;
  }

  .stage-tab {
    font-size: 13.5px;
    padding: 0 8px;
    gap: 5px;
  }

  .sb-compare,
  .sb-grid4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 639px) {
  .hs-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .hs-phone-wrap {
    order: -1;
  }

  .hs-phone {
    max-width: 320px;
  }

  .hs-ad-card {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: stretch;
  }

  .hs-ad-thumb {
    aspect-ratio: auto;
    min-height: 84px;
  }

  .hs-ad-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hs-ad-badge {
    display: none;
  }

  .hs-ad-tag {
    display: block;
  }

  .hs-ad-body {
    padding: 10px 12px;
    align-content: center;
  }
}
