@charset "UTF-8";

/* ==========================================================================
   security (보안 페이지) — style.css
   톤은 구독 플랜(docs/pricing/style.css)을 따른다 — 웜 오프화이트 배경, 1px 선(--line)으로 나눈 카드,
   장식 없는 단색 제목, 알약형 검정 버튼. 보라색은 쓰지 않는다.
   GNB·푸터는 공통 /assets/gnb-footer.css가 맡는다 (GNB fixed 70px).
   ========================================================================== */

:root {
  --gray06: #556372;
  --gray08: #3c4651;
  --gray10: #242a30;
  --gray10-rgb: 36, 42, 48;
  --white: #ffffff;
  --white-rgb: 255, 255, 255;
  --primary: #111111;
  --bg: #fdfcfc;
  --line: #eeedec;
  --gnb-height: 70px;
  --max: 1180px;
}

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

body {
  font-family:
    'Pretendard Variable',
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    Roboto,
    'Helvetica Neue',
    'Segoe UI',
    'Apple SD Gothic Neo',
    'Noto Sans KR',
    'Malgun Gothic',
    sans-serif;
  color: var(--gray10);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul {
  list-style: none;
}

.security {
  padding-top: var(--gnb-height);
  overflow-x: clip;
}

/* ==========================================================================
   버튼 (구독 플랜 .pr-btn과 같은 계열)
   ========================================================================== */

.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.2px;
  text-decoration: none;
  white-space: nowrap;
}

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

.sc-btn--primary:hover {
  background: var(--gray08);
}

.sc-btn--secondary {
  padding: 9px 16px;
  font-size: 14px;
  background: var(--white);
  color: var(--gray10);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.sc-btn--secondary:hover {
  background: rgba(var(--gray10-rgb), 0.03);
}

.sc-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.sc-hero {
  padding: 72px 24px 24px;
  text-align: center;
}

.sc-hero__inner {
  max-width: 800px;
  margin: 0 auto;
}

.sc-hero__title span,
.sc-hero__desc span {
  display: block;
}

.sc-hero__title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.sc-hero__desc {
  max-width: 560px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray06);
}

/* ==========================================================================
   섹션 공통
   ========================================================================== */

.sc-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
}

.sc-section[id] {
  scroll-margin-top: var(--gnb-height);
}

.sc-highlights {
  padding-top: 32px;
  padding-bottom: 40px;
}

/* ==========================================================================
   카드 그리드 — 구독 플랜 카드처럼 그림자 없이 1px 선을 한 줄로 공유한다 (-1px 겹침)
   ========================================================================== */

.sc-grid {
  display: grid;
  gap: 0;
  padding: 1px 0 0 1px;
}

.sc-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.sc-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* 항목이 홀수면 마지막 카드가 남은 칸까지 채운다 */
.sc-grid--2 > li:last-child:nth-child(odd) {
  grid-column: span 2;
}

.sc-card {
  position: relative;
  margin: -1px 0 0 -1px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.sc-card__icon {
  display: block;
  margin-bottom: 20px;
  font-size: 18px;
  color: var(--gray10);
}

.sc-card__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.4px;
  text-wrap: balance;
}

.sc-card__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray06);
}

/* 개인정보 보호: 아이콘 · 설명 · 버튼 한 줄 */
.sc-card--wide {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin: 0;
}

.sc-card--wide .sc-card__icon {
  margin-bottom: 0;
}

/* 플랜 라벨 */
.sc-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
}

.sc-tag {
  background: rgba(var(--gray10-rgb), 0.08);
  color: var(--gray06);
}

/* ==========================================================================
   항목 그룹 — 구독 플랜 FAQ처럼 좌 타이틀 / 우 본문
   ========================================================================== */

.sc-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr);
  gap: 48px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--line);
}

.sc-group__head {
  position: sticky;
  top: calc(var(--gnb-height) + 32px);
}

.sc-group__num {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray06);
  font-variant-numeric: tabular-nums;
}

.sc-group__title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.7px;
  text-wrap: balance;
}

.sc-group__sub {
  margin-top: 12px;
  max-width: 360px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray06);
}

/* ==========================================================================
   문의
   ========================================================================== */

.sc-contact {
  text-align: center;
  border-top: 1px solid var(--line);
}

.sc-contact__title {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.7px;
}

.sc-contact__desc {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray06);
}

/* ==========================================================================
   반응형
   ========================================================================== */

@media screen and (max-width: 1000px) {
  .sc-group {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sc-group__head {
    position: static;
  }

  .sc-group__sub {
    max-width: none;
  }
}

@media screen and (max-width: 769px) {
  .sc-grid--3 {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  .sc-hero {
    padding: 48px 16px 16px;
  }

  .sc-hero__desc {
    font-size: 16px;
    max-width: 400px;
    text-wrap: pretty;
  }

  .sc-hero__title {
    font-size: clamp(26px, 7.5vw, 30px);
  }

  .sc-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sc-group {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .sc-grid--2 {
    grid-template-columns: 1fr;
  }

  .sc-grid--2 > li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .sc-group__title,
  .sc-contact__title {
    font-size: 24px;
  }

  .sc-card--wide {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sc-card--wide .sc-btn {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .sc-btn {
    transition:
      background-color 160ms ease,
      transform 160ms ease;
  }

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

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .sc-btn:hover {
    transform: translateY(-2px);
  }
}
