/* PayChain Landing — 다크블루·화이트 톤, 데모 섹션 포함 */

:root {
  /* 다크블루·화이트 톤 */
  --navy: #0f172a;
  --navy-mid: #1e3a5f;
  --navy-light: #1e40af;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-pale: #dbeafe;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --text: var(--navy);
  --text-muted: var(--gray-500);
  --positive: #059669;
  --positive-bg: #d1fae5;
  --negative: #b91c1c;
  --negative-bg: #fee2e2;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.1);
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

.lang-en {
  display: none;
}

.lang-en.i18n-block {
  display: none;
}

body.lang-is-en .lang-ko {
  display: none !important;
}

body.lang-is-en .lang-en {
  display: inline;
}

body.lang-is-en .lang-en.i18n-block {
  display: block;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section[id] {
  scroll-margin-top: 8.5rem;
}

/* ========== Skip link (접근성) ========== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--blue);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  z-index: 100;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ========== Header ========== */
.header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: max(0.85rem, env(safe-area-inset-top, 0px)) 0 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  position: relative;
  flex-wrap: nowrap;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.logo:hover {
  color: var(--blue-light);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.65rem;
  flex-wrap: wrap;
  max-width: min(100%, calc(100vw - 5.5rem));
}

.nav a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
  line-height: 1.2;
  padding: 0.2rem 0;
}

@media (min-width: 1201px) {
  .logo {
    font-size: 1.25rem;
  }

  .nav {
    flex-wrap: nowrap;
    max-width: none;
  }
}

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

/* 햄버거 버튼 (모바일) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--white);
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.35rem;
}

.lang-switch__btn {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: var(--gray-400);
  padding: 0.2rem 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.2;
}

.lang-switch__btn.is-active {
  color: var(--white);
  border-color: rgba(147, 197, 253, 0.7);
  background: rgba(59, 130, 246, 0.2);
}

.lang-switch__btn:hover {
  color: var(--white);
}

/* ========== 제품 / 개발자 탭 ========== */
.site-tabs-bar {
  position: sticky;
  top: 56px;
  z-index: 9;
  background: linear-gradient(180deg, var(--navy-mid) 0%, #172554 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0;
}

@media (max-width: 1200px) {
  .site-tabs-bar {
    top: 52px;
  }
}

.site-tabs-bar__inner {
  display: flex;
  justify-content: center;
}

.site-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.2rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-tabs__btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--gray-400);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.site-tabs__btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.site-tabs__btn.is-active {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.site-panel[hidden] {
  display: none !important;
}

.article-hub__kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.article-hub__list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.article-hub__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.article-hub__part {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-hub__title {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.35;
}

.article-hub__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.article-hub__link {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.article-hub__note {
  margin-top: 1.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.truth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.truth-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.3rem;
}

.truth-card--positive {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.truth-card--neutral {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.truth-card--negative {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.truth-card__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.truth-card__title {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.35;
}

.truth-card__list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.truth-card__list li + li {
  margin-top: 0.5rem;
}

/* ========== Hero (다크블루 배경) ========== */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 5rem 0 6rem;
  text-align: center;
}

.hero__brand {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin: 0 0 0.5rem;
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(191, 219, 254, 0.95);
  line-height: 1.45;
}

.hero-flow {
  margin: 1.75rem auto 0;
  max-width: 36rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(147, 197, 253, 0.2);
}

.hero-flow__track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.hero-flow__node {
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-pale);
  background: rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.25);
}

.hero-flow__node--core {
  color: var(--white);
  background: rgba(37, 99, 235, 0.55);
  border-color: rgba(147, 197, 253, 0.45);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.35);
  animation: hero-core-glow 3.2s ease-in-out infinite;
}

@keyframes hero-core-glow {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.25);
  }
  50% {
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-flow__node--core {
    animation: none;
  }
}

.hero-flow__chev {
  color: var(--gray-500);
  font-weight: 700;
  font-size: 0.875rem;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--white);
}

.hero__headline {
  font-size: clamp(1.65rem, 4.2vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--white);
  max-width: 22em;
  margin-left: auto;
  margin-right: auto;
}

.hero__headline--en {
  max-width: 24em;
}

.hero__strap {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--blue-light);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.hero__strap--badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-pale);
  background: rgba(37, 99, 235, 0.28);
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 999px;
  line-height: 1.4;
}

.hero__tagline {
  font-size: 1.125rem;
  color: var(--gray-400);
  margin: 0 auto 1rem;
  max-width: 32em;
  line-height: 1.7;
}

.hero__tagline strong {
  color: var(--blue-light);
  font-weight: 600;
}

.hero__br {
  display: block;
}

@media (min-width: 640px) {
  .hero__br { display: none; }
}

.hero__disclaimer {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 1rem auto 2rem;
  max-width: 28em;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero__cta .btn {
  min-width: 12rem;
}

.hero__meta-links {
  margin: 1rem 0 0;
  color: var(--gray-400);
  font-size: 0.9375rem;
}

.hero__meta-links a {
  color: var(--gray-300);
  text-decoration: none;
}

.hero__meta-links a:hover {
  color: var(--white);
}

.hero__payhub-btn .hero__opens-new {
  opacity: 0.85;
  font-weight: 500;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-light);
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* 라이트 섹션 내 버튼 (anchor-phrases 등) */
.section--light .btn--secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--gray-200);
}

.section--light .btn--secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.btn--ghost {
  background: transparent;
  color: var(--gray-400);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

/* ========== Sections ========== */
.section {
  padding: 4.5rem 0;
}

.section--light {
  background: var(--gray-50);
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--dark .section__title {
  color: var(--white);
}

.section__title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: var(--text);
}

.section__intro {
  margin: 0 0 2rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 40em;
}

.capabilities-note {
  margin: 1.75rem 0 0;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  max-width: 44em;
}

.capabilities-note strong {
  color: var(--navy);
}

/* ========== 가치 (value) ========== */
.section--value {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.value__lead {
  max-width: 44em;
}

.value-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-card {
  margin: 0;
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.value-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

.value-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-700);
}

.value-card__text strong {
  color: var(--navy);
}

/* ========== 개발자 허브 / 제품 데모 CTA ========== */
.section--devhub {
  border-bottom: 1px solid var(--gray-200);
}

.devhub__kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.35rem;
}

.devhub__actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.devhub__whatsnew {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray-700);
}

.devhub__whatsnew code {
  font-size: 0.82em;
}

.devhub__doclinks {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--gray-600);
}

.devhub__doclinks a {
  color: var(--blue);
  font-weight: 500;
}

.demo__product-cta {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  text-align: center;
}

.demo__product-cta-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gray-300);
}

.link-as-button {
  display: inline;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--blue-light);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-as-button:hover {
  color: var(--blue-pale);
}

.card-list--compact {
  gap: 0.75rem;
}

.card-list--compact .card {
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
}

/* ========== 내비: 개발자 링크 ========== */
.nav__dev-link {
  color: var(--blue-light) !important;
  font-weight: 600;
}

/* ========== 은행·금융 실무자 블록 ========== */
.for-finance__lead {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.7;
}

.for-finance__lead strong {
  color: var(--blue);
}

.for-finance__sub {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.for-finance__sub strong {
  color: var(--navy);
}

/* ========== Cards ========== */
.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.card-list--inline {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  font-size: 1rem;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card--dark {
  background: var(--navy-mid);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.card__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50%;
}

.card--positive .card__icon {
  color: var(--positive);
  background: var(--positive-bg);
}

.card--negative .card__icon {
  color: var(--negative);
  background: var(--negative-bg);
}

.card--dark.card--negative .card__icon {
  background: rgba(248, 113, 113, 0.2);
}

/* ========== Prose & Flow diagram ========== */
.prose {
  max-width: 40em;
}

.prose p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.prose p + p {
  margin-top: 1rem;
}

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.flow-diagram__node {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 1rem;
  min-height: 2.5rem;
  background: var(--blue-pale);
  color: var(--navy-light);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
}

.flow-diagram__arrow {
  color: var(--gray-400);
  font-weight: 700;
}

.flow-diagram--split {
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.flow-diagram__lane {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.flow-diagram__lane-label {
  flex: 0 0 100%;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.25rem;
}

.flow-diagram__lane .flow-diagram__node {
  font-size: 0.8125rem;
}

.flow-diagram__lane--core {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, var(--gray-50) 100%);
  border-color: rgba(37, 99, 235, 0.22);
}

.flow-diagram__node--emph {
  background: var(--blue-pale);
  color: var(--navy);
  font-weight: 700;
}

.how-it-works__caption {
  margin: 1.5rem auto 0;
  max-width: 40em;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
}

.how-it-works__caption strong {
  color: var(--navy);
}

/* ========== Pain / problem–solution ========== */
.pain-section {
  border-top: 1px solid var(--gray-200);
}

.pain-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .pain-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.strengths-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .strengths-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.strengths-card {
  background: var(--white, #fff);
  border: 1px solid var(--gray-200, rgba(15, 23, 42, 0.08));
  border-radius: var(--radius-lg, 12px);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow, 0 1px 2px rgba(15, 23, 42, 0.04));
}

.strengths-card__label {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: var(--blue-600, #2563eb);
}

.strengths-card__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--gray-700, #334155);
}

.pain-card {
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.pain-card--problem {
  background: var(--white);
}

.pain-card--answer {
  background: linear-gradient(165deg, #eff6ff 0%, #ffffff 100%);
  border-color: rgba(37, 99, 235, 0.2);
}

.pain-card__label {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.pain-card__list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--gray-700);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.pain-card__list li + li {
  margin-top: 0.65rem;
}

.pain-card__lead {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-700);
}

.pain-card__note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.55;
}

.pain-card__note a {
  color: var(--blue);
  font-weight: 600;
}

/* ========== Audience (who it's for) ========== */
.audience-section {
  border-bottom: 1px solid var(--gray-200);
}

.audience-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.audience-card {
  margin: 0;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 11rem;
}

.audience-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.audience-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-700);
  flex: 1;
}

.audience-card__cta {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  align-self: flex-start;
}

.audience-card__cta:hover {
  text-decoration: underline;
}

.audience-card__cta--btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

/* ========== Quick sandbox simulation ========== */
.quick-sim {
  margin-bottom: 2.5rem;
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(30, 58, 95, 0.55) 0%, rgba(15, 23, 42, 0.92) 100%);
  border: 1px solid rgba(96, 165, 250, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.quick-sim__title {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.quick-sim__lead {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray-300);
  max-width: 44em;
}

.quick-sim__grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .quick-sim__grid {
    grid-template-columns: 1fr 1fr 1.2fr;
  }
}

.quick-sim__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}

.quick-sim__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

.quick-sim__input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.9375rem;
  font-family: var(--font);
  color: var(--white);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  outline: none;
}

.quick-sim__input:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35);
}

.quick-sim__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.quick-sim__result {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.quick-sim__result-route,
.quick-sim__result-meta,
.quick-sim__result-id {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--gray-200);
}

.quick-sim__result code {
  font-size: 0.8125rem;
  color: var(--blue-pale);
  word-break: break-all;
}

.quick-sim__timeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-sim__step {
  padding: 0.35rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.25);
  color: var(--blue-pale);
}

.quick-sim__step--final {
  background: rgba(16, 185, 129, 0.25);
  color: #a7f3d0;
}

.quick-sim__step-arrow {
  color: var(--gray-500);
  font-size: 0.7rem;
}

.quick-sim__disclaimer {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--gray-500);
}

.quick-sim__disclaimer a {
  color: var(--blue-light);
}

.quick-sim__presets {
  margin-bottom: 1.25rem;
}

.quick-sim__presets-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.quick-sim__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quick-sim__chip {
  padding: 0.45rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--blue-pale);
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.quick-sim__chip:hover {
  background: rgba(37, 99, 235, 0.35);
  border-color: rgba(191, 219, 254, 0.55);
}

/* ========== Onboarding journey ========== */
.onboard-journey {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.onboard-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .onboard-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.onboard-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 0;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.onboard-step__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
}

.onboard-step__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.onboard-step__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-700);
}

.onboard-step__text a {
  color: var(--blue);
  font-weight: 600;
}

.link-as-button--inline {
  display: inline;
  vertical-align: baseline;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== Trust surface (dark band) ========== */
.trust-surface .trust-surface__lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 44em;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.trust-surface__list {
  margin: 0 0 1.75rem;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.trust-surface__list li + li {
  margin-top: 0.75rem;
}

.trust-surface__list a {
  color: var(--blue-pale);
  font-weight: 600;
}

.trust-surface__list code {
  font-size: 0.85em;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.trust-surface__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ========== Positioning (방향성) ========== */
.section--positioning {
  background: linear-gradient(180deg, var(--blue-pale) 0%, var(--gray-50) 100%);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.positioning__lead {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 44em;
}

.positioning__pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .positioning__pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.positioning__pillar {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.positioning__pillar-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
}

.positioning__pillar-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-700);
}

.positioning__pillar-text code {
  font-size: 0.8125rem;
  background: var(--gray-100);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* ========== Demo section ========== */
.section--demo {
  padding: 5rem 0;
}

.demo__section-lead {
  margin: 0 0 1.25rem;
  max-width: 42em;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-300);
}

.demo__section-lead strong {
  color: var(--blue-pale);
}

.demo__badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-light);
  background: rgba(37, 99, 235, 0.15);
  border-radius: var(--radius);
}

.demo__live {
  margin-bottom: 2.5rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(165deg, rgba(37, 99, 235, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.demo__live-lead {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-300);
}

.demo__live-lead code {
  font-size: 0.85em;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.12em 0.4em;
  border-radius: 4px;
}

.demo__live-lead--compact {
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  color: var(--gray-400);
}

.demo__live-actions--wrap {
  margin-top: 0.25rem;
}

.demo__live-fields {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .demo__live-fields {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.demo__live-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
}

.demo__live-field-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-400);
}

.demo__live-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.demo__live-input:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.demo__live-input::placeholder {
  color: var(--gray-500);
}

.demo__live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.btn--demo-live {
  font-size: 0.8125rem;
  padding: 0.55rem 1rem;
  min-width: auto;
}

.demo__live-cors {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--gray-500);
}

.demo__live-cors code {
  font-size: 0.85em;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.demo__live-out {
  margin: 0;
  min-height: 4rem;
  max-height: 22rem;
  overflow: auto;
  padding: 1rem 1.15rem;
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--gray-200);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  white-space: pre-wrap;
  word-break: break-word;
}

.demo__live-out.is-loading {
  color: var(--gray-500);
  font-style: italic;
}

.demo__live-out.is-error {
  color: #fca5a5;
}

.demo__illus-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.demo__illus-note {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-400);
  max-width: 40em;
}

.demo__illus-note strong {
  color: var(--blue-pale);
}

.demo__intro {
  max-width: 36em;
  margin: 0 0 2.5rem;
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.7;
}

.demo__intro strong {
  color: var(--blue-light);
}

.demo__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin: 0 0 0.75rem;
}

.demo__try-it {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.demo__try-steps {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  line-height: 1.7;
  color: var(--gray-200);
}

.demo__try-steps code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.demo__try-commands {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--gray-300);
}

.demo__try-commands a {
  color: var(--blue-light);
  text-decoration: underline;
}

.demo__try-commands a:hover {
  color: var(--blue-light);
}

.demo__state-machine {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.state-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.25rem;
  margin-bottom: 1.5rem;
}

.state-step {
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--gray-400);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

.state-step:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.state-step[aria-pressed="true"] {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.state-arrow {
  color: var(--gray-500);
  font-size: 0.75rem;
  margin: 0 0.15rem;
}

.demo__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--demo {
  min-width: 120px;
}

.demo__payload {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.demo__hash {
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
  word-break: break-all;
  color: var(--blue-light);
  margin: 0 0 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
}

.demo__hash-note {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}

.demo__idempotency {
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.demo__idem-text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ========== 데모: CLI·API 체험 ========== */
.demo__cli {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.demo__cli-intro,
.demo__cli-note,
.demo__cli-rbac {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.demo__cli-note,
.demo__cli-rbac {
  margin-bottom: 0;
}

.demo__cli-note a {
  color: var(--blue-light);
  text-decoration: none;
}

.demo__cli-note a:hover {
  text-decoration: underline;
}

.demo__cli-all {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.demo__cli-all-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.5rem;
}

.demo__cli-all-intro {
  font-size: 0.9375rem;
  color: var(--gray-200);
  margin: 0 0 1.25rem;
}

.demo__cli-block {
  margin-bottom: 1.5rem;
}

.demo__cli-block__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue-pale);
  margin: 0 0 0.5rem;
}

.demo__cli-block .demo__code + .demo__code {
  margin-top: 0.65rem;
}

.demo__code {
  margin: 0.75rem 0 0;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius);
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--gray-400);
  overflow-x: auto;
  white-space: pre;
}

.demo__code code {
  font-family: inherit;
}

/* ========== 데모: 외부 노드 참가 ========== */
.demo__nodes {
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.demo__nodes-text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.demo__nodes-text a {
  color: var(--blue-light);
  text-decoration: none;
}

.demo__nodes-text a:hover {
  text-decoration: underline;
}

.demo__nodes-text strong {
  color: var(--blue-light);
}

/* ========== 데모: 인프라·도구 ========== */
.demo__infra {
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.demo__infra-list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--gray-400);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.demo__infra-list a {
  color: var(--blue-light);
  text-decoration: none;
}

.demo__infra-list a:hover {
  text-decoration: underline;
}

/* ========== 문서 링크 목록 ========== */
.doc-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.doc-links li a {
  color: var(--blue-light);
  text-decoration: none;
  font-size: 0.9375rem;
  display: inline-block;
  padding: 0.25rem 0;
}

.doc-links li a:hover {
  text-decoration: underline;
}

.doc-links code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.8125rem;
}

.docs__more {
  margin: 1rem 0 0;
}

.docs__more a {
  color: var(--blue-light);
  text-decoration: none;
  font-weight: 600;
}

.docs__more a:hover {
  text-decoration: underline;
}

.deploy__actions {
  margin: 1rem 0 0;
}

.fold-card {
  margin-top: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.fold-card__summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  color: var(--white);
  font-weight: 600;
}

.fold-card__summary::-webkit-details-marker {
  display: none;
}

.fold-card__summary::after {
  content: "+";
  float: right;
  color: var(--blue-light);
  font-size: 1.125rem;
  line-height: 1;
}

.fold-card[open] .fold-card__summary::after {
  content: "−";
}

.fold-card > :not(summary) {
  padding: 0 1.15rem 1.15rem;
}

#docs .section__intro code {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

/* ========== 개발자 센터 기능 목록 ========== */
.dev-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.dev-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1rem;
  color: var(--text-muted);
}

.dev-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 600;
}

.quotes-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text);
}

/* ========== Quotes ========== */
.quotes {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.quote {
  margin: 0;
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ========== Footer ========== */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 0 max(2.5rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
  text-align: center;
}

.footer__statement {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.footer__powered {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gray-400);
}

.footer__powered a {
  color: var(--blue-light);
  text-decoration: none;
}

.footer__powered a:hover {
  text-decoration: underline;
}

.footer__links {
  margin: 0;
  font-size: 0.875rem;
}

.footer__links a {
  color: var(--gray-400);
  text-decoration: none;
  margin: 0 0.75rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--blue-light);
}

.footer__note {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-left: 0.5rem;
}

.footer__note code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.8125rem;
}

/* ========== Responsive ========== */

/* 내비 항목 많음 + 한글 라벨: 중간 폭에서 가로 오버플로 방지 */
@media (max-width: 1200px) {
  .header {
    padding: 0.65rem 0;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .lang-switch {
    margin-left: auto;
    margin-right: 0.25rem;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-width: none;
    padding: 0.5rem 0 0.75rem;
    margin: 0;
    background: var(--navy-mid);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.2s ease;
    z-index: 50;
  }

  .nav.is-open {
    max-height: min(88vh, 720px);
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 1;
    -webkit-overflow-scrolling: touch;
  }

  .nav a {
    display: block;
    padding: 0.8rem 1rem;
    min-height: 2.75rem;
    font-size: 0.9375rem;
    white-space: normal;
    line-height: 1.4;
    word-break: keep-all;
    border-radius: var(--radius);
  }

  .nav a:hover,
  .nav a:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    outline: none;
  }
}

@media (max-width: 768px) {
  body {
    font-size: clamp(0.9375rem, 2.8vw, 1rem);
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  section[id] {
    scroll-margin-top: 7.5rem;
  }

  .btn {
    min-height: 2.75rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    line-height: 1.25;
    box-sizing: border-box;
  }

  .site-tabs__btn {
    min-height: 2.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .article-hub__list {
    gap: 1rem;
  }

  .nav-toggle {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  .lang-switch__btn {
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
  }

  .demo__live-input {
    font-size: 16px; /* iOS: 입력 포커스 시 자동 줌 방지 */
  }

  .btn--demo-live {
    min-height: 2.75rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.8125rem;
  }

  .state-step {
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
  }

  .demo__actions .btn--demo {
    min-height: 2.75rem;
  }

  .section__title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    line-height: 1.25;
  }

  .section__intro {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }

  .hero {
    padding: 2.75rem 0 3.25rem;
  }

  .hero__title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .hero__strap {
    font-size: 1.05rem;
  }

  .hero__tagline {
    font-size: 1rem;
    padding: 0 0.25rem;
  }

  .hero__disclaimer {
    font-size: 0.8125rem;
    padding: 0 0.25rem;
  }

  .hero__cta {
    gap: 0.75rem;
  }

  .hero__cta .btn {
    width: 100%;
    min-width: 0;
  }

  .hero__meta-links {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .positioning__lead {
    font-size: 0.9375rem;
  }

  .truth-grid {
    grid-template-columns: 1fr;
  }

  .truth-card {
    padding: 1rem 1.05rem;
  }

  .positioning__pillar {
    padding: 1rem 1.1rem;
  }

  .flow-diagram--split {
    padding: 1rem 1rem;
  }

  .flow-diagram__lane {
    padding: 0.85rem 0.75rem;
    justify-content: center;
  }

  .section {
    padding: 3rem 0;
  }

  .section--demo {
    padding: 3rem 0;
  }

  .demo__live {
    padding: 1.25rem 1.15rem;
  }

  .demo__section-lead {
    font-size: 1rem;
  }

  .state-steps {
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .state-step {
    padding: 0.5rem 0.65rem;
    font-size: 0.75rem;
  }

  .card {
    padding: 1rem 1.15rem;
    font-size: 0.9375rem;
  }

  .flow-diagram {
    padding: 1rem 1rem;
  }

  .flow-diagram__node {
    font-size: 0.8125rem;
  }

  .quote {
    padding: 1.15rem 1.2rem;
    font-size: 0.9375rem;
  }

  .demo__code {
    font-size: 0.75rem;
    padding: 0.75rem 1rem;
    max-width: 100%;
  }

  .fold-card__summary {
    padding: 0.9rem 1rem;
    font-size: 0.9375rem;
  }

  .fold-card > :not(summary) {
    padding: 0 1rem 1rem;
  }

  .demo__cli-all-title {
    font-size: 1rem;
    line-height: 1.35;
  }
}

@media (max-width: 380px) {
  .hero__strap--badge {
    font-size: 0.6875rem;
    padding: 0.35rem 0.75rem;
    letter-spacing: 0.04em;
  }

  .logo {
    font-size: 1rem;
  }
}

/* ========== Network-grade section (dark) ========== */
#network-grade .network-grade__intro {
  color: rgba(255, 255, 255, 0.88);
}

#network-grade .network-grade__card {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

#network-grade .network-grade__card code {
  font-size: 0.8125rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

#network-grade .network-grade__doclinks {
  margin-top: 1.25rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
  line-height: 1.65;
}

#network-grade .network-grade__doclinks a {
  color: var(--blue-pale);
}

#network-grade .network-grade__doclinks a:hover {
  color: var(--white);
}

/* ========== 2026 roadmap (PayTime sync) ========== */
.section--roadmap {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.roadmap__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.roadmap-pmo {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 1.25rem;
}

@media (min-width: 720px) {
  .roadmap-pmo {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .roadmap-pmo {
    grid-template-columns: repeat(4, 1fr);
  }
}

.roadmap-pmo__card {
  margin: 0;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.roadmap-pmo__label {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.roadmap-pmo__value {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

.roadmap-pmo__value--risk {
  color: #b45309;
}

.roadmap-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: flex-end;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.roadmap-filters__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 10rem;
}

.roadmap-filters__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.roadmap-filters__select {
  padding: 0.45rem 0.65rem;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
}

.roadmap-milestones {
  display: grid;
  gap: 0.85rem;
}

.roadmap-milestone {
  margin: 0;
  padding: 1.1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.roadmap-milestone--focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12), var(--shadow-md);
}

.roadmap-milestone__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.roadmap-milestone__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.roadmap-milestone__desc {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--gray-700);
}

.roadmap-milestone__desc code {
  font-size: 0.8125rem;
  background: var(--gray-100);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.roadmap-milestone__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.roadmap-milestone__dates {
  font-variant-numeric: tabular-nums;
}

.roadmap-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 999px;
  line-height: 1.4;
}

.roadmap-badge--layer {
  color: var(--navy-mid);
  background: var(--blue-pale);
}

.roadmap-badge--status.roadmap-badge--done {
  color: #065f46;
  background: var(--positive-bg);
}

.roadmap-badge--status.roadmap-badge--progress {
  color: #1e40af;
  background: #dbeafe;
}

.roadmap-badge--status.roadmap-badge--planned {
  color: var(--gray-700);
  background: var(--gray-100);
}

.roadmap-badge--status.roadmap-badge--review {
  color: #92400e;
  background: #fef3c7;
}

.roadmap-badge--prio {
  color: var(--navy);
  background: var(--gray-200);
}

.roadmap-badge--reco {
  color: #1e3a5f;
  background: #e0f2fe;
}

.roadmap-badge--h2 {
  color: #5b21b6;
  background: #ede9fe;
}

.roadmap-badge--audience {
  color: var(--gray-700);
  background: var(--gray-100);
}

.roadmap-badge--internal {
  color: #6b21a8;
  background: #f3e8ff;
}

.roadmap__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

/* Research / paper placeholder */
.research-paper {
  background: #f8fafc;
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.research-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.research-card--primary {
  grid-column: 1 / -1;
  border-left: 4px solid #2563eb;
}
.research-card h3 {
  margin: 0 0 0.55rem;
  color: #0f172a;
  font-size: 1.02rem;
}
.research-card p,
.research-card li {
  color: #334155;
  line-height: 1.6;
  font-size: 0.95rem;
}
.research-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

/* Plain-language term glossary (how-it-works, non-developer aid) */
.term-glossary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0 1rem;
  padding: 0;
}

.term-glossary__item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #2563eb;
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.term-glossary__item dt {
  font-weight: 700;
  font-size: 1.02rem;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.term-glossary__item dt span {
  font-weight: 500;
  color: #64748b;
  font-size: 0.85rem;
}

.term-glossary__item dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
}

.how-it-works__caption--muted {
  color: #475569;
  font-size: 0.95rem;
}

/* ===== Sales deck (panel-sales) ===== */
.section--sales {
  background: linear-gradient(180deg, #0f172a 0%, #111c33 100%);
  color: #e2e8f0;
}
.section--sales .section__title { color: #fff; }
.section--sales .section__intro { color: #cbd5e1; }
.deck-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 0.4rem;
}
.deck-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.4rem 0 1rem;
}
.deck-appeal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 1.6rem 0 0.4rem;
}
.deck-appeal__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid #2b3b57;
  border-top: 3px solid #60a5fa;
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
}
.deck-appeal__item strong { color: #fff; font-size: 0.98rem; line-height: 1.35; }
.deck-appeal__item span { color: #cbd5e1; font-size: 0.88rem; line-height: 1.55; }
.deck-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.deck-audience__chip {
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid #334155;
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
}
.deck-filter {
  margin: 1.6rem 0 0.4rem;
  padding: 0.9rem 1rem;
  border: 1px solid #2b3b57;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.deck-filter__label { display: block; font-size: 0.82rem; color: #94a3b8; margin-bottom: 0.55rem; }
.deck-filter__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.deck-filter__chip {
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid #334155;
  border-radius: 999px;
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.deck-filter__chip:hover { border-color: #60a5fa; color: #fff; }
.deck-filter__chip.is-active { background: #2563eb; border-color: #2563eb; color: #fff; font-weight: 700; }
.deck-filter__hint { margin: 0.6rem 0 0; font-size: 0.78rem; color: #94a3b8; }
.deck-slide.is-hidden { display: none; }

.deck {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.deck-slide {
  position: relative;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.6rem 1.8rem 1.7rem;
}
.deck-slide__no {
  position: absolute;
  top: 1.1rem;
  right: 1.4rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.05em;
}
.deck-slide__tag {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #60a5fa;
  margin: 0 0 0.35rem;
}
.deck-slide__headline {
  font-size: 1.32rem;
  line-height: 1.35;
  color: #fff;
  margin: 0 0 0.9rem;
  max-width: 52ch;
}
.deck-slide__lead { color: #cbd5e1; margin: 0 0 0.8rem; line-height: 1.6; }
.deck-slide__list { margin: 0; padding-left: 1.15rem; color: #cbd5e1; line-height: 1.65; }
.deck-slide__list li { margin-bottom: 0.45rem; }
.deck-slide__list--ordered { padding-left: 1.3rem; }
.deck-slide__list code,
.deck-slide__lead code { background: rgba(96, 165, 250, 0.14); color: #bfdbfe; padding: 0.05rem 0.35rem; border-radius: 5px; font-size: 0.9em; }
.deck-slide__foot { margin: 0.9rem 0 0; font-size: 0.9rem; color: #94a3b8; }
.deck-slide--cover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e293b 90%);
  border-color: #2563eb;
}
.deck-slide--cover .deck-slide__headline { font-size: 1.7rem; }
.deck-slide--cta { border-color: #2563eb; background: #16243d; }

.deck-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-top: 0.3rem;
}
.deck-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #334155;
  border-left: 3px solid #60a5fa;
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
}
.deck-stat strong { color: #fff; font-size: 0.95rem; }
.deck-stat span { color: #94a3b8; font-size: 0.85rem; line-height: 1.45; }

.deck-flow,
.deck-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
  margin: 0.5rem 0 0.4rem;
}
.deck-flow__node {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  font-size: 0.95rem;
}
.deck-flow__node small { font-weight: 500; color: #94a3b8; font-size: 0.75rem; }
.deck-flow__node--core { border-color: #2563eb; background: rgba(37, 99, 235, 0.18); color: #fff; }
.deck-flow__arrow { align-self: center; color: #60a5fa; font-weight: 700; }
.deck-stack__core,
.deck-stack span {
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font-size: 0.88rem;
  border: 1px solid #334155;
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
}
.deck-stack__core { border-color: #2563eb; background: rgba(37, 99, 235, 0.22); color: #fff; font-weight: 700; }

.deck-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.8rem; }
.deck-timeline__step {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.deck-timeline__step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 1rem;
}
.deck-timeline__step span { color: #cbd5e1; font-size: 0.88rem; line-height: 1.5; }

.deck-role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.8rem; }
.deck-role {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.deck-role strong { color: #fff; font-size: 0.95rem; }
.deck-role span { color: #94a3b8; font-size: 0.85rem; line-height: 1.5; }

.deck-disclaimer { margin-top: 1.6rem; font-size: 0.85rem; color: #94a3b8; }
.deck-disclaimer a { color: #93c5fd; }

/* ROI estimator (inside ROI slide) */
.roi-calc {
  margin-top: 1.2rem;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
  background: rgba(255, 255, 255, 0.03);
}
.roi-calc__title { margin: 0 0 0.85rem; font-size: 1rem; color: #fff; }
.roi-calc__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem;
}
.roi-calc__field { display: flex; flex-direction: column; gap: 0.28rem; font-size: 0.8rem; color: #cbd5e1; }
.roi-calc__field input {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #fff;
  padding: 0.5rem 0.6rem;
  font-size: 0.95rem;
  width: 100%;
}
.roi-calc__field input:focus { outline: 2px solid #2563eb; border-color: #2563eb; }
.roi-calc__out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 0.95rem;
}
.roi-calc__metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid #2b3b57;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-size: 0.8rem;
  color: #cbd5e1;
}
.roi-calc__metric--hl { background: rgba(37, 99, 235, 0.28); border-color: #2563eb; }
.roi-calc__metric strong { font-size: 1.35rem; color: #fff; line-height: 1.2; }
.roi-calc__note { margin: 0.8rem 0 0; font-size: 0.78rem; color: #94a3b8; }
@media (max-width: 520px) { .roi-calc__out { grid-template-columns: 1fr; } }

/* Security one-pager + MAP template */
.section--onepager { border-top: 1px solid #1e293b; }
.onepager-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}
.onepager-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}
.onepager-card h3 { margin: 0 0 0.5rem; font-size: 1.02rem; color: #fff; }
.onepager-card p { margin: 0; color: #cbd5e1; font-size: 0.9rem; line-height: 1.6; }
.onepager-card--honest { border-left: 3px solid #f59e0b; background: rgba(245, 158, 11, 0.08); }
.onepager-resp-title { margin: 2rem 0 0.8rem; color: #fff; font-size: 1.05rem; }
.onepager-table,
.map-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.6rem;
  font-size: 0.88rem;
}
.onepager-table th,
.onepager-table td,
.map-table th,
.map-table td {
  border: 1px solid #334155;
  padding: 0.6rem 0.7rem;
  text-align: left;
  vertical-align: top;
  color: #cbd5e1;
}
.onepager-table th,
.map-table th { background: rgba(255, 255, 255, 0.05); color: #fff; font-weight: 700; }
.map-table .map-blank { min-width: 90px; }
.section--map { border-top: 1px solid #1e293b; }

/* Comparison table (deck slide 12) */
.cmp-table { margin-top: 0.4rem; }
.cmp-table td:not(:first-child),
.cmp-table th:not(:first-child) { text-align: center; }
.cmp-table .cmp--y { color: #34d399; font-weight: 800; }
.cmp-table .cmp--p { color: #fbbf24; font-weight: 800; }
.cmp-table .cmp--n { color: #f87171; font-weight: 800; }
.cmp-table .cmp-row--us { background: rgba(37, 99, 235, 0.18); }
.cmp-table .cmp-row--us td { color: #fff; }
@media print {
  .cmp-table .cmp--y { color: #047857 !important; }
  .cmp-table .cmp--p { color: #b45309 !important; }
  .cmp-table .cmp--n { color: #b91c1c !important; }
  .cmp-table .cmp-row--us { background: #eff6ff !important; }
  .cmp-table .cmp-row--us td { color: #0f172a !important; }
}

@media print {
  .section--onepager,
  .section--map { background: #fff !important; page-break-before: always; padding: 0 !important; }
  .onepager-card { background: #fff !important; border: 1px solid #cbd5e1 !important; page-break-inside: avoid; }
  .onepager-card h3,
  .onepager-resp-title { color: #0f172a !important; }
  .onepager-card p,
  .onepager-table td,
  .map-table td { color: #1e293b !important; }
  .onepager-table th,
  .map-table th { background: #f1f5f9 !important; color: #0f172a !important; }
  .map-table .map-blank { min-height: 1.4rem; }
}

@media (max-width: 640px) {
  .deck-slide { padding: 1.3rem 1.2rem; }
  .deck-slide__headline { font-size: 1.18rem; }
  .deck-slide--cover .deck-slide__headline { font-size: 1.4rem; }
}

/* Print the sales deck cleanly to PDF */
@media print {
  .site-header,
  .site-tabs-bar,
  .site-footer,
  .nav-toggle,
  .no-print { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .section--sales { background: #fff !important; color: #000 !important; padding: 0 !important; }
  .section--sales .section__title,
  .deck-slide__headline,
  .deck-stat strong,
  .deck-role strong,
  .deck-flow__node,
  .deck-stack__core { color: #0f172a !important; }
  .section--sales .section__intro,
  .deck-slide__lead,
  .deck-slide__list,
  .deck-stat span,
  .deck-role span,
  .deck-timeline__step span { color: #1e293b !important; }
  .deck { gap: 0; }
  .deck-slide {
    background: #fff !important;
    border: 1px solid #cbd5e1 !important;
    page-break-inside: avoid;
    break-inside: avoid;
    page-break-after: always;
    margin-bottom: 0;
  }
  .deck-slide__no { color: #94a3b8 !important; }
}
