:root {
  --bg: #f3f7fb;
  --panel: #ffffff;
  --line: #d5deea;
  --text: #1b2430;
  --muted: #5f6b7a;
  --primary: #22b8cf;
  --secondary: #2f6d5d;
  --ghost: #3f4f62;
  --navy: #1b2430;
  --soft-cyan: #e9fbff;
  --danger: #df4f5f;
  --success: #4f8f3a;
}

/* 이유: 서비스 소개 랜딩은 회원 콘솔 공통 스타일과 분리해 화면 개편 시 상호 회귀를 방지한다. */
.portal-landing-body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  color: #142033;
  background: #fff;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
}

.portal-landing-body.has-modal { overflow: hidden; }

.portal-landing {
  --landing-primary: #08baa9;
  --landing-primary-dark: #068f83;
  --landing-navy: #11233e;
  --landing-muted: #6f7f91;
  --landing-line: #dfe8ed;
  --landing-surface: #f5f9fa;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  background: #fff;
}

/* 이유: 고정 헤더 아래로 앵커 제목이 가려지지 않도록 공개 콘텐츠의 이동 기준을 보정한다. */
.portal-landing > section { scroll-margin-top: 82px; }

.portal-landing__header {
  /* 이유: 랜딩 밖의 도입 문의 화면에서도 활성 메뉴와 브랜드 색상이 동일하게 렌더링되게 한다. */
  --landing-primary: #08baa9;
  --landing-primary-dark: #068f83;
  --landing-navy: #11233e;
  --landing-muted: #6f7f91;
  --landing-line: #dfe8ed;
  --landing-surface: #f5f9fa;
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  height: 68px;
  min-height: 68px;
  box-sizing: border-box;
  padding: 0 clamp(24px, 8vw, 140px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid #edf1f3;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
}

.portal-landing__brand {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--landing-navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.portal-landing__brand-mark {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--landing-primary);
  font-size: 11px;
  font-weight: 900;
}

.portal-landing__nav { display: flex; align-items: stretch; gap: 34px; }

.portal-landing__nav a {
  position: relative;
  padding: 25px 0 21px;
  color: #516075;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
}

.portal-landing__nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
}

.portal-landing__nav a:hover,
.portal-landing__nav a.is-active { color: var(--landing-primary-dark); }
.portal-landing__nav a.is-active::after { background: var(--landing-primary); }

.portal-landing__account {
  min-height: 44px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.portal-landing__account form { margin: 0; display: flex; }

/* 이유: 공개 독립 화면도 랜딩과 같은 폰트 메트릭을 사용해 헤더와 본문 크기 변동을 방지한다. */
.portal-public { font-family: "Pretendard", "Noto Sans KR", sans-serif; }

/* 이유: 데스크톱에서는 wrapper가 기존 3열 header 배치를 방해하지 않고 모바일에서만 drawer가 된다. */
.portal-landing__menu-panel { display: contents; }
.portal-landing__menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid #dce5ea;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.portal-landing__menu-toggle span {
  width: 100%;
  height: 2px;
  display: block;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--landing-navy);
}

.portal-landing__text-link {
  color: #46566b;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.portal-landing__status {
  padding: 6px 10px;
  border: 1px solid #b9e8e2;
  border-radius: 999px;
  color: var(--landing-primary-dark);
  background: #effbf9;
  font-size: 10px;
  font-weight: 800;
}

.portal-landing__button {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--landing-navy);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.portal-landing__button:hover { transform: translateY(-2px); }
.portal-landing__button--small { min-height: 36px; padding: 0 15px; font-size: 12px; }
/* 이유: 랜딩 DOM 바깥의 로그인 모달에서도 CSS 변수 미상속으로 버튼 배경이 사라지지 않게 기본색을 보장한다. */
.portal-landing__button--primary { color: #fff; background: var(--landing-primary, #08baa9); box-shadow: 0 8px 18px rgba(8, 186, 169, 0.2); }
.portal-landing__button--primary:hover { background: var(--landing-primary-dark, #068f83); }
.portal-landing__button--outline { border-color: #d7e0e6; background: #fff; }
.portal-landing__button--ghost { border-color: #dce5e9; background: transparent; }
.portal-landing__button--light { color: #0c3769; background: #e9f4ff; }

.portal-landing__hero {
  min-height: 610px;
  padding: 105px clamp(32px, 10vw, 170px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  background:
    radial-gradient(circle at 84% 34%, rgba(8, 186, 169, 0.13), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7fcfc 100%);
}

.portal-landing__eyebrow {
  margin: 0 0 13px;
  color: var(--landing-primary-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.portal-landing__hero h1 {
  margin: 0;
  color: var(--landing-navy);
  font-size: clamp(45px, 5vw, 69px);
  line-height: 1.04;
  letter-spacing: -3px;
}

.portal-landing__hero h1 span,
.portal-landing__service-showcase h2 span { font-weight: 950; }

.portal-landing__lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--landing-muted);
  font-size: 17px;
  line-height: 1.8;
}

.portal-landing__actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.portal-landing__actions--center { justify-content: center; }

.portal-landing__auth-flow {
  padding: 31px 34px;
  display: grid;
  grid-template-columns: 1fr 38px 1fr 38px 1fr 38px 1fr;
  align-items: center;
  border: 1px solid #e0e9ec;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 45px rgba(31, 72, 85, 0.12);
}

.portal-landing__auth-flow article { display: grid; justify-items: center; gap: 11px; text-align: center; }
.portal-landing__auth-flow article span { width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid #d8edeb; border-radius: 13px; color: var(--landing-primary-dark); background: #f5fbfa; font-size: 11px; font-weight: 900; }
.portal-landing__auth-flow article strong { color: #8290a0; font-size: 11px; }
.portal-landing__auth-flow article.is-complete span { color: #fff; background: var(--landing-primary); border-color: var(--landing-primary); }
.portal-landing__auth-flow i { height: 1px; background: #cae6e3; }

.portal-landing__compare,
.portal-landing__service-showcase,
.portal-landing__journey,
.portal-landing__providers,
.portal-landing__pricing { padding: 92px clamp(32px, 8vw, 140px); }
/* 이유: 독립 가격 안내는 헤더 아래 남은 화면을 채워 랜딩 경유 없이 완결된 페이지로 보이게 한다. */
.portal-pricing-page .portal-landing__pricing { min-height: calc(100vh - 145px); }

.portal-landing__compare { background: #f6f9fa; }

.portal-landing__section-heading { max-width: 850px; margin: 0 auto 44px; text-align: center; }
.portal-landing__section-heading h2,
.portal-landing__split-heading h2 { margin: 0; color: var(--landing-navy); font-size: clamp(31px, 4vw, 47px); letter-spacing: -1.8px; }
.portal-landing__section-heading > p:last-child { margin: 13px 0 0; color: var(--landing-muted); font-size: 15px; line-height: 1.7; }

.portal-landing__compare-grid { max-width: 1190px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.portal-landing__compare-card { padding: 35px 38px; border: 1px solid #e3e9ec; border-radius: 16px; background: #fff; }
.portal-landing__compare-card--solution { border-color: #bfece6; background: #effbf9; }
.portal-landing__compare-card h3 { margin: 0 0 25px; font-size: 16px; }
.portal-landing__compare-card--problem h3 { color: #e14b65; }
.portal-landing__compare-card--solution h3 { color: var(--landing-primary-dark); }
.portal-landing__compare-card dl { margin: 0; display: grid; gap: 20px; }
.portal-landing__compare-card dl div { position: relative; padding-left: 25px; }
.portal-landing__compare-card dl div::before { content: "×"; position: absolute; left: 0; color: #e14b65; font-weight: 900; }
.portal-landing__compare-card--solution dl div::before { content: "✓"; color: var(--landing-primary-dark); }
.portal-landing__compare-card dt { font-size: 14px; font-weight: 850; }
.portal-landing__compare-card dd { margin: 5px 0 0; color: var(--landing-muted); font-size: 12px; line-height: 1.55; }

.portal-landing__service-showcase { background: #fff; }
.portal-landing__console { max-width: 1120px; min-height: 560px; margin: 0 auto; display: grid; grid-template-columns: 205px 1fr; overflow: hidden; border: 1px solid #d7e3e8; border-radius: 15px; background: #f4f7fa; box-shadow: 0 30px 70px rgba(22, 50, 77, 0.12); }
.portal-landing__console aside { padding: 28px 20px; display: flex; flex-direction: column; gap: 11px; color: #9eb0c7; background: #0e315f; }
.portal-landing__console aside strong { margin-bottom: 18px; color: #fff; font-size: 17px; }
.portal-landing__console aside span { padding: 12px 14px; border-radius: 7px; font-size: 12px; font-weight: 700; }
.portal-landing__console aside span.is-active { color: #fff; background: #174b8e; }
.portal-landing__console-main { padding: 32px; }
.portal-landing__console-title { display: flex; justify-content: space-between; align-items: center; }
.portal-landing__console-title small { color: #7a8da2; letter-spacing: 1px; }
.portal-landing__console-title h3 { margin: 6px 0 0; color: #143052; font-size: 22px; }
.portal-landing__console-title > span { padding: 7px 11px; border-radius: 999px; color: #087a68; background: #dcf8f2; font-size: 10px; font-weight: 900; }
.portal-landing__metric-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.portal-landing__metric-grid article { padding: 19px; border: 1px solid #dce6eb; border-radius: 10px; background: #fff; }
.portal-landing__metric-grid small { color: #75879a; font-size: 10px; }
.portal-landing__metric-grid strong { margin-top: 9px; display: block; color: #122c4e; font-size: 22px; }
.portal-landing__metric-grid em { margin-top: 5px; display: block; color: #08a88e; font-size: 10px; font-style: normal; }
.portal-landing__chart-grid { margin-top: 18px; display: grid; grid-template-columns: 1.5fr 0.8fr; gap: 18px; }
.portal-landing__chart-grid article { min-height: 260px; padding: 22px; border: 1px solid #dce6eb; border-radius: 10px; background: #fff; }
.portal-landing__chart-grid h4 { margin: 0; color: #29425e; font-size: 13px; }

/* 이유: 관리자 소개 화면과 같은 검수 이미지를 Web 헤더 아래 콘텐츠 영역에 동일 비율로 노출한다. */
.portal-features__content {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 164px 0 84px;
}

/* 이유: body의 overflow hidden에 의존하지 않고 모든 브라우저에서 기능 화면 자체가 단일 세로 스크롤 주체가 된다. */
.portal-features { overflow-x: hidden; overflow-y: auto; }

/* 이유: 긴 기능 소개를 스크롤해도 공개 메뉴가 sticky 컨텍스트에 밀리지 않게 화면 상단에 고정한다. */
.portal-features > .portal-landing__header {
  position: fixed;
  right: 0;
  left: 0;
}

.portal-features__tabs {
  position: fixed;
  top: 68px;
  left: 50%;
  z-index: 45;
  width: min(1280px, calc(100% - 48px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.portal-features__tabs a {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e9ee;
  border-radius: 9px;
  color: #91a2b8;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.portal-features__tabs a:hover,
.portal-features__tabs a.is-active {
  border-color: #62dfd1;
  color: var(--landing-primary-dark);
  background: #effbf9;
}

.portal-features__sections {
  display: grid;
  gap: 72px;
}

.portal-features__section {
  min-width: 0;
  scroll-margin-top: 144px;
}

.portal-features__section-title {
  margin: 0 0 16px;
  color: var(--landing-navy);
  font-size: 22px;
  letter-spacing: -0.5px;
}

.portal-features__panel {
  overflow: hidden;
  border: 1px solid #1c2635;
  border-radius: 15px;
  background: #f4f7fb;
}

.portal-features__viewport {
  position: relative;
  width: 100%;
  /* 이유: 기능 썸네일이 생성된 1280x720 원본 비율을 그대로 유지해 화면 일부가 잘리지 않게 한다. */
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.portal-features__image {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  /* 이유: 이미 완성된 16:9 썸네일에는 관리자 원본용 확대·좌표 이동을 다시 적용하지 않는다. */
  transform: none;
}

/* 이유: 목록 화면 전체를 키보드로도 확대할 수 있게 button 의미와 시각 힌트를 함께 제공한다. */
.portal-features__image-button { position: absolute; inset: 0; width: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.portal-features__image-button > span { position: absolute; right: 14px; bottom: 14px; padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(17, 35, 62, .78); font-size: 11px; font-weight: 700; }
.portal-features__image-button:focus-visible { outline: 3px solid rgba(8, 186, 169, .5); outline-offset: -4px; }

/* 이유: 원본은 별도 확대 레이어 안에서만 스크롤해 공개 페이지 전체 overflow를 만들지 않는다. */
.portal-features__viewer { padding: 24px; }
.portal-features__viewer-panel { position: relative; width: min(1500px, 100%); min-width: 0; max-width: 100%; max-height: calc(100vh - 48px); margin: auto; padding: 54px 18px 18px; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 30px 90px rgba(6, 22, 40, .34); }
.portal-features__viewer-panel h2 { position: absolute; top: 18px; left: 22px; margin: 0; color: var(--landing-navy); font-size: 17px; }
.portal-features__viewer-scroll { width: 100%; max-height: calc(100vh - 126px); overflow: auto; border: 1px solid #dfe8ed; border-radius: 10px; background: #f5f8fa; }
.portal-features__viewer-scroll img { min-width: 960px; display: block; }

.portal-features__footer {
  min-height: 76px;
  display: grid;
  place-items: center;
  border-top: 1px solid #edf1f3;
  color: #91a2b8;
  background: #f7f9fb;
  font-size: 12px;
}

@media (max-width: 768px) {
  .portal-features__content {
    width: calc(100% - 28px);
    /* 이유: 고정 header와 기능 탭 아래에서 첫 제목이 가려지지 않도록 실제 탭 높이만큼 여백을 둔다. */
    padding: 144px 0 48px;
  }

  .portal-features__tabs {
    top: 62px;
    width: calc(100% - 28px);
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 8px 0 6px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .portal-features__tabs::-webkit-scrollbar { display: none; }

  .portal-features__tabs a {
    flex: 0 0 auto;
    min-width: 132px;
    min-height: 39px;
    padding: 0 13px;
    font-size: 12px;
    scroll-snap-align: center;
  }

  /* 이유: 본문 이미지는 모바일 폭에 맞춰 축소하고 세부 확인은 확대 레이어가 담당한다. */
  .portal-features__panel { overflow: hidden; }
  .portal-features__viewport { min-width: 0; }
  .portal-features__image-button > span { right: 9px; bottom: 9px; }
  .portal-features__viewer { padding: 10px; }
  .portal-features__viewer-panel { max-height: calc(100vh - 20px); padding: 52px 10px 10px; border-radius: 12px; }
  .portal-features__viewer-scroll { max-height: calc(100vh - 92px); }
  .portal-features__sections { gap: 48px; }
  .portal-features__section { scroll-margin-top: 126px; }
  .portal-features__section-title { font-size: 18px; }
}

@media (max-width: 480px) {
  /* 이유: 작은 모바일 폭에서는 한 화면에서 다음 기능 탭의 존재를 함께 인지할 수 있게 폭을 줄인다. */
  .portal-features__tabs a { min-width: 116px; padding: 0 11px; }
}

.portal-landing__bar-chart > div { height: 175px; margin-top: 25px; padding: 0 12px; display: flex; align-items: end; justify-content: space-around; border-bottom: 1px solid #dfe7eb; background: repeating-linear-gradient(to top, transparent 0 43px, #eef2f4 44px); }
.portal-landing__bar-chart i { width: 34px; border-radius: 5px 5px 0 0; background: linear-gradient(#0bc7b4, #088e82); }
.portal-landing__donut-card { display: grid; justify-items: center; }
.portal-landing__donut-card h4 { justify-self: start; }
.portal-landing__donut { width: 145px; height: 145px; margin-top: 15px; border-radius: 50%; background: conic-gradient(#08baa9 0 54%, #1d5da2 54% 83%, #f2c75b 83%); position: relative; }
.portal-landing__donut::after { content: ""; position: absolute; inset: 34px; border-radius: 50%; background: #fff; }
.portal-landing__donut-card p { display: flex; gap: 13px; color: #718298; font-size: 10px; }

.portal-landing__journey { padding-top: 55px; background: #fff; }
.portal-landing__journey-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.portal-landing__journey-grid article { position: relative; display: grid; justify-items: center; text-align: center; }
.portal-landing__journey-grid article:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 67%; width: 66%; height: 1px; background: #cae6e3; }
.portal-landing__journey-grid b { color: var(--landing-primary); font-size: 10px; }
.portal-landing__journey-grid span { width: 53px; height: 53px; margin: 8px 0 14px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--landing-primary); font-size: 10px; font-weight: 900; box-shadow: 0 9px 18px rgba(8, 186, 169, 0.18); }
.portal-landing__journey-grid strong { font-size: 13px; }
.portal-landing__journey-grid p { margin: 7px 0 0; color: var(--landing-muted); font-size: 11px; }

.portal-landing__providers { background: #f8fafb; }
.portal-landing__split-heading { max-width: 1190px; margin: 0 auto 34px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.portal-landing__split-heading > span { color: #99a5b2; font-size: 12px; }
.portal-landing__provider-domains { max-width: 1190px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.portal-landing__provider-domain { padding: 30px; overflow: hidden; border: 1px solid #dce8e9; border-radius: 20px; background: #fff; box-shadow: 0 18px 44px rgba(17, 50, 67, 0.07); }
.portal-landing__provider-domain--did { background: linear-gradient(145deg, #fff 52%, #effbf9 100%); }
.portal-landing__provider-domain--nft { border-color: #dce5f1; background: linear-gradient(145deg, #fff 52%, #f1f6fc 100%); }
.portal-landing__provider-domain-head { min-height: 126px; display: grid; grid-template-columns: 74px 1fr; align-items: start; gap: 20px; }
.portal-landing__provider-domain-icon { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 22px; color: #fff; background: linear-gradient(145deg, #10c6b5, #078a7e); font-size: 17px; font-weight: 950; letter-spacing: 1px; box-shadow: 0 12px 24px rgba(8, 164, 149, 0.22); }
.portal-landing__provider-domain--nft .portal-landing__provider-domain-icon { background: linear-gradient(145deg, #3e7bc3, #17477f); box-shadow: 0 12px 24px rgba(27, 79, 139, 0.22); }
.portal-landing__provider-domain-head p { margin: 2px 0 6px; color: var(--landing-primary-dark); font-size: 9px; font-weight: 900; letter-spacing: 1.3px; }
.portal-landing__provider-domain--nft .portal-landing__provider-domain-head p { color: #2c66a7; }
.portal-landing__provider-domain-head h3 { margin: 0; color: var(--landing-navy); font-size: 25px; letter-spacing: -0.8px; }
.portal-landing__provider-domain-head div > span { margin-top: 9px; display: block; color: var(--landing-muted); font-size: 12px; line-height: 1.65; }
.portal-landing__provider-partners { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.portal-landing__provider-partners section { min-height: 104px; padding: 17px; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; border: 1px solid #e1e9eb; border-radius: 13px; background: rgba(255, 255, 255, 0.88); }
.portal-landing__provider-partners b { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: var(--landing-primary-dark); background: #e8f8f5; font-size: 10px; letter-spacing: 0.5px; }
.portal-landing__provider-domain--nft .portal-landing__provider-partners b { color: #275d9b; background: #eaf1fa; }
.portal-landing__provider-partners h4 { margin: 0; color: #20344d; font-size: 14px; }
.portal-landing__provider-partners p { margin: 5px 0 0; color: #7b8999; font-size: 10px; line-height: 1.45; }

.portal-landing__pricing { background: #fff; }
.portal-landing__pricing .portal-landing__section-heading h2 span { position: relative; z-index: 1; }
.portal-landing__pricing .portal-landing__section-heading h2 span::after { content: ""; position: absolute; z-index: -1; right: -5px; bottom: 1px; left: -5px; height: 10px; border-radius: 10px; background: #ffe48b; transform: rotate(-2deg); }
.portal-landing__pricing-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 24px; }
.portal-landing__pricing-grid article { padding: 35px 31px; border: 1px solid #eadfae; border-radius: 12px; background: #fff; }
.portal-landing__pricing-grid article.is-featured { transform: translateY(-12px); color: #fff; border-color: #0b477f; background: #0d477e; box-shadow: 0 18px 42px rgba(13, 71, 126, 0.22); }
.portal-landing__pricing-grid article > p { margin: 0; font-size: 13px; font-weight: 850; }
.portal-landing__pricing-grid h3 { margin: 17px 0 7px; font-size: 25px; }
.portal-landing__pricing-grid small { color: var(--landing-muted); }
.portal-landing__pricing-grid .is-featured small { color: #bcd3e8; }
.portal-landing__pricing-grid ul { min-height: 145px; margin: 28px 0; padding: 0; display: grid; gap: 13px; list-style: none; }
.portal-landing__pricing-grid li { position: relative; padding-left: 22px; font-size: 12px; }
.portal-landing__pricing-grid li::before { content: "✓"; position: absolute; left: 0; color: var(--landing-primary); font-weight: 900; }

/* 이유: 하단 전환 CTA 구성이 확정될 때까지 마크업은 보존하고 공개 화면 노출만 중단한다. */
.portal-landing__cta { display: none; padding: 60px 32px 82px; text-align: center; background: linear-gradient(180deg, #fff, #f4fbfa); }
.portal-landing__cta h2 { margin: 0; color: var(--landing-navy); font-size: clamp(29px, 4vw, 43px); }
.portal-landing__cta > p:not(.portal-landing__eyebrow) { color: var(--landing-muted); }

/* 이유: 하단 링크는 숨기되 법적 고지인 copyright 행은 계속 노출한다. */
.portal-landing__footer { padding: 28px clamp(32px, 8vw, 140px); display: grid; grid-template-columns: 1fr; color: #6d7d90; border-top: 1px solid #e9eff1; background: #f4f7f8; font-size: 11px; }
.portal-landing__footer section { display: none; flex-direction: column; align-items: flex-start; gap: 10px; }
.portal-landing__footer h3 { margin: 0 0 6px; color: #36495f; font-size: 11px; text-transform: uppercase; }
.portal-landing__footer p { margin: 0; line-height: 1.6; }
.portal-landing__footer a:not(.portal-landing__brand) { color: #6d7d90; text-decoration: none; }
.portal-landing__footer > small { grid-column: 1 / -1; padding-top: 25px; text-align: center; border-top: 1px solid #e3eaed; }

.portal-landing__modal { position: fixed; z-index: 100; inset: 0; padding: 24px; display: none; place-items: center; background: rgba(9, 24, 42, 0.62); backdrop-filter: blur(7px); }
.portal-landing__modal.is-open { display: grid; }
.portal-landing__modal-panel { position: relative; width: min(100%, 490px); padding: 38px; border-radius: 20px; background: #fff; box-shadow: 0 30px 80px rgba(6, 22, 40, 0.3); }
.portal-landing__modal-panel h2 { margin: 0; color: var(--landing-navy); font-size: 28px; }
.portal-landing__modal-panel > p:not(.portal-landing__eyebrow) { color: var(--landing-muted); line-height: 1.65; }
/* 이유: 승인된 로그인 디자인에서 중복 설명 문구는 시각적으로 노출하지 않는다. */
.portal-landing__modal-panel > .portal-landing__login-intro { display: none; }
.portal-landing__modal-close { position: absolute; top: 16px; right: 18px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #526274; background: #eff3f4; font-size: 21px; cursor: pointer; }
/* 이유: 이메일 로그인 팝업 입력을 회원가입 폼과 동일한 시각 규칙으로 구성한다. */
.portal-landing__login-form { display: grid; gap: 10px; margin-top: 22px; }
.portal-landing__login-form label { margin-top: 4px; color: #172236; font-size: 14px; font-weight: 700; }
.portal-landing__input-wrap { display: flex; min-width: 0; align-items: center; gap: 9px; min-height: 46px; box-sizing: border-box; border: 1px solid #ced9e8; border-radius: 7px; padding: 0 12px; background: #f3f6fb; }
.portal-landing__input-wrap > span { min-width: 22px; color: #536983; font-size: 11px; font-weight: 800; text-align: center; }
.portal-landing__input-wrap input { width: 100%; min-width: 0; height: 44px; border: 0; outline: 0; padding: 0; background: transparent; color: #172236; font: inherit; }
.portal-landing__input-wrap input::placeholder { color: #8d99aa; }
.portal-landing__input-wrap:focus-within { border-color: #153564; box-shadow: 0 0 0 2px rgba(21, 53, 100, 0.08); }
.portal-landing__password-toggle { flex: 0 0 auto; border: 0; padding: 5px; background: transparent; color: #29486f; font-size: 11px; font-weight: 800; cursor: pointer; }
.portal-landing__otp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
/* 이유: OTP가 아이디 이메일로 발송된다는 단일 입력 계약을 입력칸 가까이 안내한다. */
.portal-landing__otp-hint { margin: -3px 0 2px; color: #64748b; font-size: 12px; line-height: 1.45; }
.portal-landing__otp-button { min-width: 86px; border: 1px solid #16335f; border-radius: 7px; padding: 0 13px; background: #fff; color: #102a52; font: inherit; font-weight: 750; cursor: pointer; }
.portal-landing__otp-button:disabled { cursor: wait; opacity: 0.55; }
.portal-landing__form-message { min-height: 18px; margin: 0; color: #168369; font-size: 12px; }
.portal-landing__form-message.is-error { color: #ef4444; }
.portal-landing__login-submit { justify-content: center; width: 100%; margin-top: 6px; border-color: #08baa9; }
/* 이유: 로그인과 비밀번호 찾기 사이를 문맥에 종속되지 않는 OR 구분선으로 명확히 나눈다. */
.portal-landing__form-divider { display: flex; align-items: center; gap: 12px; margin: 7px 0 1px; color: #94a3b8; font-size: 11px; font-weight: 700; }
.portal-landing__form-divider::before, .portal-landing__form-divider::after { content: ""; flex: 1 1 auto; height: 1px; background: #dbe4ee; }
.portal-landing__form-divider > span { flex: 0 0 auto; }
/* 이유: 로그인 하단 보조 동작은 링크가 아닌 명확한 버튼으로 보이되 주 CTA보다 낮은 위계를 유지한다. */
.portal-landing__password-find { width: 100%; min-height: 44px; margin-top: 5px; border: 1px solid #d3deeb; border-radius: 7px; color: #263f65; background: #fff; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; }
.portal-landing__password-find:hover { border-color: #9eb2ca; background: #f7fafc; }
/* 이유: hidden 속성이 레이아웃 display 규칙보다 우선해 로그인과 재설정 폼이 동시에 보이지 않게 한다. */
.portal-landing__password-reset-form[hidden], .portal-landing__login-form[hidden] { display: none; }
.portal-landing__dev-login { margin-top: 20px; color: #647386; font-size: 12px; }
.portal-landing__dev-login summary { cursor: pointer; font-weight: 750; }
.portal-landing__dev-login form { margin-top: 15px; display: grid; gap: 9px; }
.portal-landing__dev-login input { min-height: 44px; padding: 0 13px; border: 1px solid #d8e1e5; border-radius: 7px; }

/* 이유: 정회원 신청 입력량이 많아도 랜딩 위에서 읽기 쉽도록 설명과 폼을 분리한 대형 레이어를 제공한다. */
.member-application-modal { padding: 28px; overflow-y: auto; align-items: start; }
.member-application-modal__panel { position: relative; width: min(100%, 1120px); margin: auto; padding: 50px; display: grid; grid-template-columns: 0.72fr 1.55fr; gap: 52px; border-radius: 22px; background: #fff; box-shadow: 0 32px 90px rgba(6, 22, 40, 0.32); }
.member-application-modal__intro h2 { margin: 0; color: var(--landing-navy); font-size: 29px; letter-spacing: -1px; }
.member-application-modal__intro > p:not(.portal-landing__eyebrow) { margin: 15px 0 0; color: #708197; font-size: 14px; line-height: 1.7; }
.member-application-modal__role { margin-top: 30px; padding: 26px; display: grid; gap: 7px; border: 1px solid #a8ebe2; border-radius: 16px; background: #effbf9; }
.member-application-modal__role small { margin-top: 8px; color: #418a82; font-size: 11px; }
.member-application-modal__role strong { color: #152b43; font-size: 20px; }
.member-application-modal__role b { color: #19283b; font-size: 15px; line-height: 1.55; }
.member-application-modal__role p { margin: 13px 0 0; color: #71879a; font-size: 11px; line-height: 1.55; }
.member-application-modal__form { display: grid; grid-template-columns: 1fr; gap: 9px; }
/* 이유: 가입 실패 안내를 입력 필드보다 먼저 인지할 수 있는 모달 내부 오류 박스로 표시한다. */
.member-application-modal__error { margin: 0 0 5px; padding: 12px 14px; border: 1px solid #fecaca; border-radius: 8px; color: #b42318; background: #fff1f2; font-size: 13px; font-weight: 700; line-height: 1.5; }
.member-application-modal__form label { margin-top: 4px; color: #34475d; font-size: 12px; font-weight: 750; }
.member-application-modal__form input:not([type="hidden"]):not([type="checkbox"]),
.member-application-modal__form textarea { width: 100%; min-height: 43px; padding: 10px 13px; border: 1px solid #d6e0e7; border-radius: 7px; color: #20334b; background: #fff; font: inherit; font-size: 13px; outline: none; }
.member-application-modal__form textarea { min-height: 78px; resize: vertical; }
.member-application-modal__form input:focus,
.member-application-modal__form textarea:focus { border-color: var(--landing-primary); box-shadow: 0 0 0 3px rgba(8, 186, 169, 0.12); }
.member-application-modal__two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.member-application-modal__two-col > div { display: grid; gap: 9px; }
.member-application-modal__agreement { margin: 10px 0 18px; display: flex; align-items: center; gap: 9px; cursor: pointer; }
.member-application-modal__agreement input { width: 17px; height: 17px; accent-color: var(--landing-primary); }
.member-application-modal__agreement span { color: #506177; font-size: 12px; font-weight: 600; }
/* 이유: 비밀번호 조합 조건을 입력 필드 가까이 표시해 가입 실패를 예방한다. */
.member-application-modal__password-hint { margin: -8px 0 2px; color: #64748b; font-size: 12px; line-height: 1.5; }
.member-application-modal__form > .portal-landing__button { width: 100%; }
/* 이유: 내 정보 fragment도 회원가입 레이어 폭과 배치를 유지하고 로딩·오류 상태를 중앙에 표시한다. */
#memberProfileModalContent { width: min(100%, 1120px); margin: auto; }
.member-profile-modal__panel { width: 100%; }
.member-profile-modal__panel input[readonly] { color: #6d7d90; background: #f2f6f8; cursor: not-allowed; }
.member-profile-modal__loading,
.member-profile-modal__error { width: min(100%, 520px); margin: auto; padding: 34px; border-radius: 18px; color: #42566d; text-align: center; background: #fff; box-shadow: 0 30px 80px rgba(6, 22, 40, 0.3); }
.member-profile-modal__error { display: grid; gap: 16px; }
.member-profile-standalone { padding: 40px 24px; background: #f4f7f9; }
.member-profile-standalone > .member-application-modal__panel { margin: 0 auto; }

.member-application-complete__panel { position: relative; width: min(100%, 480px); padding: 42px; border-radius: 20px; text-align: center; background: #fff; box-shadow: 0 32px 90px rgba(6, 22, 40, 0.32); }
.member-application-complete__icon { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; color: #078c7c; background: #dff8f3; font-size: 29px; font-weight: 900; }
.member-application-complete__panel h2 { margin: 0; color: var(--landing-navy); font-size: 25px; }
.member-application-complete__panel > p:not(.portal-landing__eyebrow) { color: #6b7c90; line-height: 1.65; }
.member-application-complete__panel > div { margin: 24px 0; padding: 16px; display: flex; justify-content: space-between; border-radius: 10px; background: #f1f6f7; }
.member-application-complete__panel > div small { color: #77889a; }
.member-application-complete__panel > div strong { color: #233951; }
.service-inquiry-reviewed-modal__panel { position: relative; width: min(100%, 500px); padding: 42px; border-radius: 20px; text-align: center; background: #fff; box-shadow: 0 32px 90px rgba(6, 22, 40, 0.32); }
.service-inquiry-reviewed-modal__icon { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; color: #078c7c; background: #dff8f3; font-size: 29px; font-weight: 900; }
.service-inquiry-reviewed-modal__panel h2 { margin: 0; color: var(--landing-navy); font-size: 25px; }
.service-inquiry-reviewed-modal__panel > p:not(.portal-landing__eyebrow) { color: #6b7c90; line-height: 1.65; }
.service-inquiry-reviewed-modal__summary { margin: 24px 0; padding: 16px; display: flex; justify-content: space-between; border-radius: 10px; background: #f1f6f7; }
.service-inquiry-reviewed-modal__summary small { color: #77889a; }
.service-inquiry-reviewed-modal__summary strong { color: #233951; }
.service-inquiry-reviewed-modal__actions { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }

@media (max-width: 1080px) {
  .portal-landing__header { grid-template-columns: auto 1fr; }
  .portal-landing__menu-toggle { display: block; justify-self: end; }
  /* 이유: 숨겨졌던 공개 메뉴와 계정 버튼을 header 아래 접근 가능한 drawer로 제공한다. */
  .portal-landing__menu-panel {
    position: absolute;
    top: calc(100% + 1px);
    right: clamp(18px, 4vw, 36px);
    width: min(360px, calc(100vw - 36px));
    padding: 18px;
    display: none;
    gap: 16px;
    border: 1px solid #dce5ea;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(18, 41, 64, 0.18);
  }
  .portal-landing__menu-panel.is-open { display: grid; }
  .portal-landing__nav { display: grid; gap: 4px; }
  .portal-landing__nav a { padding: 12px 10px; border-radius: 8px; }
  .portal-landing__nav a::after { display: none; }
  .portal-landing__nav a.is-active { background: #ecfaf8; }
  .portal-landing__account { justify-content: flex-start; padding-top: 14px; border-top: 1px solid #edf1f3; }
  .portal-landing__hero { grid-template-columns: 1fr; padding-top: 75px; }
  .portal-landing__hero-copy { max-width: 760px; }
  .portal-landing__metric-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .portal-landing__header { height: 62px; min-height: 62px; padding: 0 18px; gap: 14px; }
  .portal-landing__brand { font-size: 12px; }
  .portal-landing__account { gap: 8px; flex-wrap: wrap; }
  .portal-landing__hero { min-height: auto; padding: 72px 22px 60px; grid-template-columns: minmax(0, 1fr); gap: 45px; }
  .portal-landing__hero h1 { font-size: 43px; letter-spacing: -2px; }
  .portal-landing__lead { font-size: 15px; }
  .portal-landing__auth-flow { padding: 23px 15px; grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .portal-landing__auth-flow i { display: none; }
  .portal-landing__auth-flow article strong { font-size: 9px; }
  .portal-landing__compare,
  .portal-landing__service-showcase,
  .portal-landing__journey,
  .portal-landing__providers,
  .portal-landing__pricing { padding: 67px 20px; }
  .portal-landing__compare-grid,
  .portal-landing__provider-domains,
  .portal-landing__pricing-grid { grid-template-columns: 1fr; }
  .portal-landing__console { min-height: 480px; grid-template-columns: 1fr; }
  .portal-landing__console aside { display: none; }
  .portal-landing__console-main { padding: 20px; }
  .portal-landing__chart-grid { grid-template-columns: 1fr; }
  .portal-landing__donut-card { display: none; }
  .portal-landing__journey-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .portal-landing__journey-grid article::after { display: none; }
  .portal-landing__split-heading { align-items: flex-start; flex-direction: column; }
  .portal-landing__provider-domain { padding: 24px; }
  .portal-landing__pricing-grid article.is-featured { transform: none; }
  .portal-landing__footer { grid-template-columns: 1fr 1fr; }
  .portal-landing__footer section:first-child { grid-column: 1 / -1; }
  .member-application-modal { padding: 12px; }
  .member-application-modal__panel { margin: 12px auto; padding: 38px 20px 24px; grid-template-columns: 1fr; gap: 24px; border-radius: 16px; }
  .member-application-modal__intro h2 { font-size: 24px; }
  .member-application-modal__role { margin-top: 18px; padding: 18px; }
  .member-application-modal__two-col { grid-template-columns: 1fr; gap: 9px; }
  .member-application-complete__panel { padding: 38px 22px 25px; }
}

@media (max-width: 480px) {
  .portal-landing__brand > span:last-child { max-width: 130px; }
  .portal-landing__account .portal-landing__button { padding: 0 11px; }
  .portal-landing__hero h1 { font-size: 36px; }
  .portal-landing__actions .portal-landing__button { width: 100%; }
  .portal-landing__metric-grid { grid-template-columns: 1fr; }
  .portal-landing__journey-grid { grid-template-columns: 1fr; }
  .portal-landing__provider-domain-head { grid-template-columns: 58px 1fr; }
  .portal-landing__provider-domain-icon { width: 58px; height: 58px; border-radius: 17px; font-size: 13px; }
  .portal-landing__provider-partners { grid-template-columns: 1fr; }
  .portal-landing__footer { grid-template-columns: 1fr; }
  .portal-landing__footer section:first-child { grid-column: auto; }
  .portal-landing__modal-panel { padding: 32px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .portal-landing__button { transition: none; }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Noto Sans KR", "Pretendard", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 10% -20%, #d9ebff 0%, transparent 60%),
    radial-gradient(800px 500px at 90% -10%, #d6f5e8 0%, transparent 60%),
    var(--bg);
}

.web-portal {
  min-height: 100vh;
  background: #f4f7fa;
  color: var(--text);
}

.web-portal.compact {
  padding-bottom: 56px;
}

.web-nav {
  height: 72px;
  padding: 0 32px;
  background: #fff;
  border-bottom: 1px solid #d8e0ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.web-brand {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

/* 이유: 공개 포탈과 회원·관리 콘솔 어디에서도 브랜드 심볼이 빠지지 않게 같은 형태의 마크를 제공한다. */
.web-brand-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #08baa9;
  font-size: 12px;
  font-weight: 900;
}

.web-menu {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.web-menu a {
  color: #2f3b49;
  text-decoration: none;
  font-weight: 700;
  padding: 24px 0 20px;
  border-bottom: 3px solid transparent;
}

.web-menu a.active {
  color: #0795aa;
  border-bottom-color: #22b8cf;
}

.web-actions {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* 이유: 관리 보조 화면의 본문 폭과 여백을 회원 콘솔과 동일한 읽기 영역으로 제한한다. */
.console-shell { width: min(1180px, calc(100% - 48px)); margin: 32px auto 0; }

/* 이유: 긴 키·감사 정보 표는 화면 전체 overflow 대신 자체 가로 스크롤 영역을 사용한다. */
.table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.table-scroll > .table { min-width: 760px; }

/* 이유: 회원·관리 콘솔 헤더도 태블릿과 모바일에서 로고·메뉴·로그아웃이 겹치지 않게 재배치한다. */
@media (max-width: 900px) {
  .web-nav { height: auto; min-height: 72px; padding: 10px 18px; flex-wrap: wrap; gap: 8px 14px; }
  .web-brand { flex: 1 1 auto; font-size: 17px; }
  .web-actions { flex: 0 0 auto; }
  .web-menu {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
  .web-menu a { min-width: max-content; padding: 12px 0 10px; }
}

@media (max-width: 520px) {
  .web-brand { font-size: 14px; }
  .web-brand-mark { width: 24px; height: 24px; border-radius: 7px; font-size: 10px; }
  .web-actions .status-pill { display: none; }
  .console-shell { width: calc(100% - 24px); margin-top: 18px; }
}

.btn-small {
  padding: 9px 16px;
  border-radius: 4px;
  font-weight: 800;
}

.status-pill {
  border: 1px solid #bfe9ef;
  background: #effcff;
  color: #087a8b;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
}

.service-hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 80px 70px;
  background: linear-gradient(135deg, #f8fbff 0%, #eaf8fb 100%);
}

.service-copy h1 {
  margin: 10px 0 18px;
  font-size: clamp(40px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: -1.8px;
}

.service-copy p {
  max-width: 620px;
  color: #4c5b6a;
  line-height: 1.8;
  font-size: 17px;
}

.eyebrow {
  color: #0795aa;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions.center {
  justify-content: center;
}

.flow-card {
  min-height: 140px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #e3e9f1;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(27, 36, 48, 0.08);
  display: grid;
  grid-template-columns: 1fr 50px 1fr 50px 1fr 50px 1fr;
  align-items: center;
}

.flow-step {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #708092;
  font-size: 12px;
  text-align: center;
}

.flow-icon {
  width: 58px;
  height: 58px;
  border: 3px solid #dfe6ee;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f1f4f8;
  color: #18a9c0;
  font-weight: 900;
}

.flow-step.active .flow-icon {
  border-color: #70ddec;
  background: #ecfcff;
}

.flow-step.done .flow-icon {
  border-color: #a6c889;
  background: #f4faee;
  color: #5e8a37;
}

.flow-line {
  height: 3px;
  background: #7bdcea;
}

.compare-section,
.provider-section,
.journey-section,
.cta-section {
  padding: 92px 32px;
}

.compare-section {
  background: #f2f4f7;
}

.section-title {
  text-align: center;
  margin-bottom: 52px;
}

.section-title h2,
.split-heading h2,
.cta-section h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.8px;
}

.section-title p,
.cta-section p {
  color: #5e6b78;
}

.compare-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 28px;
}

.compare-card {
  background: #fff;
  border: 1px solid #dfe6ef;
  border-radius: 6px;
  padding: 34px;
  box-shadow: 0 10px 22px rgba(27, 36, 48, 0.06);
}

.compare-card.solution {
  background: #eafcff;
  border-color: #bfeaf1;
}

.compare-card.problem h3 {
  color: var(--danger);
}

.compare-card.solution h3 {
  color: #17aabd;
}

.compare-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 18px;
}

.compare-card li {
  display: grid;
  gap: 4px;
  color: #263241;
}

.compare-card li::before {
  content: "×";
  color: var(--danger);
  font-weight: 900;
  margin-right: 10px;
}

.compare-card.solution li::before {
  content: "✓";
  color: var(--success);
}

.compare-card li span {
  color: #657384;
  font-size: 14px;
}

.split-heading {
  max-width: 1320px;
  margin: 0 auto 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.split-heading span {
  color: #566372;
}

.provider-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 28px;
}

.provider-card {
  background: #fff;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 10px 22px rgba(27, 36, 48, 0.06);
}

.provider-logo {
  height: 72px;
  background: #f1f3f6;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: #18a9c0;
  font-weight: 900;
}

.journey-section {
  background: #fff;
}

.journey-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 36px;
  text-align: center;
}

.journey-grid span {
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #22b8cf;
  color: #fff;
  font-weight: 900;
}

.journey-grid p {
  color: #657384;
  font-size: 14px;
}

.cta-section {
  text-align: center;
  background: #f5f8fb;
}

.web-footer {
  border-top: 1px solid #d8e0ec;
  padding: 56px 32px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
  background: #fff;
}

.web-footer a,
.web-footer p {
  display: block;
  color: #5d6b7a;
  text-decoration: none;
  line-height: 1.8;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: linear-gradient(135deg, #f8fbff 0%, #e9fbff 100%);
}

.auth-card {
  width: min(620px, 100%);
  background: #fff;
  border: 1px solid #d9e3ee;
  border-radius: 18px;
  padding: 38px;
  box-shadow: 0 24px 50px rgba(27, 36, 48, 0.1);
}

.auth-card h1 {
  margin: 12px 0;
  font-size: 34px;
}

.auth-copy {
  color: #586777;
  line-height: 1.75;
}


.application-layout {
  max-width: 1280px;
  margin: 52px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.application-intro,
.application-card {
  background: #fff;
  border: 1px solid #d9e3ee;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 16px 34px rgba(27, 36, 48, 0.07);
}

.application-intro h1 {
  font-size: 38px;
  margin: 10px 0 14px;
}

.application-intro p {
  color: #5d6b7a;
  line-height: 1.8;
}

.contract-summary {
  margin-top: 28px;
  padding: 22px;
  border-radius: 14px;
  background: #f0fcff;
  border: 1px solid #bfeaf1;
  display: grid;
  gap: 8px;
}

.contract-summary strong {
  font-size: 26px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 14px;
}

.readonly-money {
  border: 1px solid #c4cede;
  border-radius: 10px;
  padding: 12px;
  background: #f7fafc;
  font-weight: 900;
}

.check-line {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  color: #374657;
  font-weight: 700;
  line-height: 1.5;
}

/* 이유: form-grid의 input width:100%가 checkbox에도 적용되어 문구와 분리되는 문제를 방지한다. */
.check-line input[type="checkbox"] {
  width: auto;
  min-width: 16px;
  margin: 0;
  flex: 0 0 auto;
}

/* 이유: 동의 문구가 체크박스 오른쪽에서 자연스럽게 줄바꿈되도록 라벨 내부 텍스트 영역만 확장한다. */
.check-line span {
  flex: 1 1 auto;
}

.pending-id {
  margin: 24px 0;
  border: 1px solid #d9e3ee;
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 6px;
  background: #f8fbff;
}

.pending-modal-panel {
  width: min(560px, 100%);
  padding: 24px;
  box-shadow: 0 24px 50px rgba(27, 36, 48, 0.16);
}

.pending-modal-panel h2 {
  margin: 12px 0 0;
  font-size: 32px;
  line-height: 1.2;
}

.sdk-layout {
  max-width: 1280px;
  margin: 52px auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.sdk-hero {
  background: #fff;
  border: 1px solid #d9e3ee;
  border-radius: 18px;
  padding: 38px;
}

.sdk-hero h1 {
  font-size: 40px;
}

.light-code {
  background: #122033;
}

.demo-title {
  padding: 34px 32px 0;
}

.demo-title h1 {
  font-size: 42px;
  margin: 0 0 14px;
}

.demo-title p {
  color: #5d6b7a;
}

.demo-steps {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 18px;
}

.demo-steps span {
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  padding: 18px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(27, 36, 48, 0.05);
}

.demo-steps span.active {
  color: #0795aa;
  border-color: #b9eaf1;
  background: #f0fcff;
}

.demo-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.wallet-page {
  min-height: 100vh;
  padding: 26px 20px 56px;
  max-width: 1240px;
  margin: 0 auto;
}

.landing-shell {
  border: 1px solid #cfd8e6;
  border-radius: 18px;
  background: #f7f9fc;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(14, 35, 61, 0.08);
}

.landing-nav {
  background: #fff;
  border-bottom: 1px solid #d8e0ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 20px;
}

.brand {
  font-weight: 800;
  color: #0d3b78;
}

.menu {
  display: flex;
  gap: 24px;
}

.menu a {
  text-decoration: none;
  color: #3f4f62;
  font-weight: 600;
  font-size: 14px;
  padding-bottom: 6px;
}

.menu a.active {
  color: #0e4f96;
  border-bottom: 2px solid #0e4f96;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.text-link {
  text-decoration: none;
  color: #314a66;
  font-weight: 600;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  padding: 40px 26px 26px;
}

.hero-copy h1 {
  margin: 16px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.chip {
  display: inline-block;
  margin: 0;
  background: #dbe4ff;
  color: #30437a;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

.wallet-sub {
  margin: 16px 0 0;
  max-width: 700px;
  color: #4d5e72;
  line-height: 1.6;
}

.wallet-cta {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.code-window {
  background: #132e56;
  color: #d8e8ff;
  border: 1px solid #2f4870;
  border-radius: 12px;
  padding: 14px 16px 16px;
  box-shadow: 0 12px 24px rgba(16, 35, 61, 0.25);
}

.dots {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: #6e84a3;
}

.dots span:first-child { background: #e5534b; }
.dots span:nth-child(2) { background: #59b96d; }

.code-window pre {
  margin: 0;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.55;
  color: #d8e8ff;
}

.about-card {
  margin: 20px 26px 28px;
  border: 1px solid #d5deea;
  border-radius: 18px;
  background: #f4f7fb;
  padding: 28px 20px;
  text-align: center;
}

.about-card h2 {
  margin: 0;
  font-size: 22px;
}

.about-card p {
  max-width: 780px;
  margin: 14px auto 0;
  color: #516173;
  line-height: 1.7;
}

.feature-grid {
  margin: 18px 26px 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.feature-card {
  background: #fff;
  border: 1px solid #d5deea;
  border-radius: 12px;
  padding: 16px;
}

.feature-card h3 {
  margin: 0;
  font-size: 16px;
}

.feature-card p {
  margin: 8px 0 0;
  color: #526174;
  line-height: 1.55;
  font-size: 14px;
}

.steps {
  margin: 18px 26px 28px;
  background: #0f4c81;
  color: #fff;
  border-radius: 14px;
  padding: 20px;
}

.steps h2 {
  margin: 0;
  font-size: 22px;
}

.step-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 10px;
}

.step-grid article {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 12px;
}

.step-grid strong {
  display: block;
  font-size: 20px;
}

.step-grid span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 14px;
}

.stats strong {
  display: block;
  color: #0f4c81;
  font-size: 22px;
}

.stats span {
  display: block;
  margin-top: 6px;
  color: #5b6a7b;
  font-size: 12px;
  letter-spacing: 0.8px;
}

.sample-auth-shell {
  overflow: visible;
}

.sample-auth-grid {
  align-items: start;
}

.sample-form {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.sample-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sample-qr-panel {
  background: #0d1d34;
  color: #eaf4ff;
  border: 1px solid #223d62;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 30px rgba(13, 29, 52, 0.24);
}

.sample-empty {
  min-height: 420px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 8px;
  color: #9fb2ca;
}

.sample-empty strong {
  color: #fff;
  font-size: 24px;
}

.sample-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.sample-status-row strong {
  color: #49ddff;
  font-size: 24px;
}

.sample-qr-image {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 14px;
  background: #fff;
  border-radius: 18px;
}

.sample-qr-url {
  word-break: break-all;
  color: #aebed4;
  font-size: 12px;
  line-height: 1.5;
}

.sample-json {
  margin: 14px 0 0;
  max-height: 260px;
  overflow: auto;
  padding: 14px;
  background: #07111f;
  color: #cfe8ff;
  border: 1px solid #1d3758;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .sample-two-col {
    grid-template-columns: 1fr;
  }
}

.wallet-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.wallet-shell-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.wallet-shell-header h1 {
  margin: 6px 0 0;
  font-size: 30px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin-top: 16px;
}

.alert-box {
  border: 1px solid #9ed0b8;
  background: #edf9f1;
  border-radius: 14px;
  padding: 16px;
  margin-top: 14px;
}

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

.form-grid {
  display: grid;
  gap: 10px;
}

.form-grid label {
  font-weight: 600;
}

.form-grid input {
  width: 100%;
  border: 1px solid #c4cede;
  border-radius: 10px;
  padding: 10px 12px;
}

/* 이유: 내 정보의 사용 목적도 기존 입력 필드와 같은 폭·시각 체계를 유지한다. */
.form-grid textarea {
  width: 100%;
  border: 1px solid #c4cede;
  border-radius: 10px;
  padding: 10px 12px;
  resize: vertical;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  border-bottom: 1px solid #dde4ee;
  text-align: left;
  padding: 10px 8px;
  font-size: 14px;
}

.table th {
  background: #f7faff;
}

.key-cell {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
  vertical-align: top;
}

.key-cell span {
  display: inline;
  flex: 0 1 auto;
  word-break: break-all;
}

.copy-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #c4cede;
  border-radius: 8px;
  background: #fff;
  color: #425268;
  cursor: pointer;
  flex: 0 0 auto;
}

.copy-icon-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.copy-icon-btn svg {
  width: 18px;
  height: 18px;
}

.copy-icon-success {
  display: none;
}

.copy-icon-btn.is-copied {
  color: #1d7a45;
  border-color: #8dc8a2;
  background: #edf9f1;
}

.copy-icon-btn.is-copied .copy-icon-default {
  display: none;
}

.copy-icon-btn.is-copied .copy-icon-success {
  display: block;
}

.table-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-action-row form {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-ghost { background: var(--ghost); color: #fff; }
.btn-light { background: #fff; color: #1f2d3d; border: 1px solid #bdcadb; }
.btn-inline { background: #6a7787; color: #fff; border: 0; border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.full { width: 100%; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 30, 0.56);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-panel {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 16px;
  border: 1px solid #d5deea;
  padding: 18px;
}

.auth-modal-panel {
  width: min(620px, 100%);
  padding: 26px;
  box-shadow: 0 24px 50px rgba(27, 36, 48, 0.16);
}

.auth-modal-panel h2 {
  margin: 12px 0 0;
  font-size: 34px;
  line-height: 1.15;
}

.credential-modal-panel {
  width: min(760px, 100%);
  box-shadow: 0 24px 50px rgba(27, 36, 48, 0.16);
}

.credential-field {
  margin-top: 14px;
}

.credential-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.credential-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.credential-row code {
  flex: 1 1 auto;
  display: block;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d5deea;
  background: #f7faff;
  color: #1b2430;
  word-break: break-all;
  white-space: pre-wrap;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 16px;
}

.icon-btn {
  border: 0;
  background: #e8edf5;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
}


.field-label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 600;
}

.field-input {
  width: 100%;
  border: 1px solid #c4cede;
  border-radius: 10px;
  padding: 10px 12px;
}

@media (max-width: 760px) {
  .landing-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 24px 16px 16px;
    gap: 18px;
  }
  .about-card {
    margin: 16px;
    padding: 20px 14px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    margin: 16px;
  }
  .steps {
    margin: 16px;
    padding: 16px;
  }
  .step-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .wallet-shell,
  .wallet-hero {
    padding: 18px;
    border-radius: 16px;
  }
}
/* 이유: 도입 문의 전용 범위를 제한해 기존 랜딩·회원 화면 스타일과 충돌하지 않게 한다. */
.inquiry-page{background:#fff;color:#132036;min-height:100vh}.inquiry-shell{width:min(1240px,calc(100% - 40px));margin:0 auto;padding:76px 0 92px}.inquiry-heading h1{margin:0;font-size:34px;letter-spacing:-.04em}.inquiry-heading p{margin:10px 0 32px;color:#72829a;font-size:17px}.inquiry-steps{display:flex;align-items:center;justify-content:center;gap:30px;list-style:none;margin:0 0 28px;padding:0;overflow-x:auto}.inquiry-steps li{display:flex;align-items:center;gap:12px;white-space:nowrap;color:#7e8ba0;font-size:16px}.inquiry-steps li:not(:last-child)::after{content:"";width:34px;height:1px;background:#dbe2ec;margin-left:18px}.inquiry-steps span{display:grid;place-items:center;width:42px;height:42px;border:3px solid #dbe2ec;border-radius:50%;font-weight:800}.inquiry-steps .is-current,.inquiry-steps .is-done{color:#1f59d9}.inquiry-steps .is-current span{border-color:#1f59d9}.inquiry-steps .is-done span{border-color:#1f59d9;background:#1f59d9;color:#fff}.inquiry-card{min-height:620px;border:1px solid #dbe2ec;border-radius:14px;padding:34px;background:#fff;box-shadow:0 10px 36px rgba(27,54,93,.04)}.inquiry-card h2{margin:0 0 28px;font-size:26px}.inquiry-form{max-width:760px}.inquiry-form>label{display:grid;grid-template-columns:220px 1fr;align-items:center;gap:22px;margin-bottom:20px;font-size:17px;font-weight:700}.inquiry-form input,.inquiry-form textarea{width:100%;box-sizing:border-box;border:1px solid #cfdae8;border-radius:8px;background:#f2f6fb;padding:15px 17px;font:inherit}.inquiry-form textarea{min-height:110px;resize:vertical}.inquiry-alert{padding:13px 18px;border:1px solid #ffb8b8;border-radius:8px;background:#fff4f4;color:#b42318}.inquiry-options{display:grid;gap:10px;max-width:780px}.inquiry-options label{display:flex;align-items:flex-start;gap:16px;padding:18px;border:1px solid #dbe2ec;border-radius:9px;cursor:pointer}.inquiry-options label:has(input:checked){border-color:#9fb8ee;background:#e9f0ff}.inquiry-options input{width:20px;height:20px;accent-color:#1f59d9}.inquiry-options span{display:grid;gap:6px}.inquiry-options small{color:#718198}.inquiry-options .is-mandatory{background:#f0f0f0;color:#555;cursor:not-allowed}.inquiry-later{display:flex!important;grid-template-columns:none!important;width:320px;border:1px solid #dbe2ec;border-radius:8px;padding:18px 20px;margin-top:70px}.inquiry-notice{max-width:740px;padding:18px;border:1px solid #aac8ff;border-radius:8px;background:#eef5ff;color:#275ac7}.inquiry-consent{display:flex;gap:10px;margin:28px 0;color:#43536a}.inquiry-actions{display:flex;justify-content:space-between;align-items:center;margin-top:38px;padding-top:22px;border-top:1px solid #e1e7ef}.inquiry-actions a,.inquiry-actions button,.inquiry-submit button{display:inline-flex;align-items:center;justify-content:center;min-width:84px;border:1px solid #d6dee9;border-radius:8px;padding:13px 22px;background:#fff;color:#16233a;text-decoration:none;font-weight:750;cursor:pointer}.inquiry-actions button,.inquiry-submit button{border-color:#0d316c;background:#0d316c;color:#fff}.inquiry-submit{text-align:right;margin-top:14px}.inquiry-submit button:disabled{opacity:.45;cursor:not-allowed}.inquiry-complete{text-align:center}.inquiry-complete__icon{display:grid;place-items:center;width:86px;height:86px;margin:20px auto;border-radius:50%;background:#cdf9e5;color:#009c69;font-size:48px}.inquiry-complete dl{max-width:620px;margin:30px auto;padding:22px;background:#eef3fa;border-radius:9px;text-align:left}.inquiry-complete dl div{display:flex;justify-content:space-between;padding:7px}.inquiry-complete dd{margin:0;font-weight:800}.inquiry-complete dd span{color:#9233e9}.inquiry-complete__guide{color:#62738c}.inquiry-footer{padding:25px;text-align:center;background:#f5f8fc;color:#94a3b8}
@media(max-width:760px){.inquiry-shell{width:min(100% - 24px,1240px);padding-top:36px}.inquiry-heading h1{font-size:28px}.inquiry-steps{justify-content:flex-start;gap:10px}.inquiry-steps li:not(:last-child)::after{width:14px;margin-left:6px}.inquiry-steps strong{display:none}.inquiry-card{min-height:auto;padding:22px}.inquiry-form>label{grid-template-columns:1fr;gap:8px}.inquiry-options label{padding:14px}.inquiry-later{width:auto!important;margin-top:28px}.inquiry-actions{position:sticky;bottom:0;background:#fff;padding-bottom:10px}}
