/**
 * trust-certified.css — 위홈 소개 상세 (/about_detail)
 * SSOT: docs/design-md/wooseok.md · craft.md · motion.md · kr-premium-visual.md
 * 간명 소개: /about → about-short.css
 * 레퍼런스: point-guide.css
 * 플랫 · Logo Violet CTA 1 · left stripe / glow / pill CTA 금지 · hover 밑줄 금지
 */
@import url('../wh-tokens.css');

#wehome-no-history-logo { display: none !important; }
#body footer { display: none !important; }
.nav.clean { display: none !important; }

#content.tc-page {
  font-family: var(--wh-ff, 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
  background: var(--wh-bg, #f2f4f6) !important;
  padding: 0 !important;
  padding-bottom: calc(var(--bar-h, 66px) + env(safe-area-inset-bottom) + 32px) !important;
  min-height: 100vh;
  color: var(--wh-tx, #191f28);
}

#content.tc-page a,
#content.tc-page a:hover,
#content.tc-page a:focus,
#content.tc-page a:active {
  text-decoration: none !important;
}

/* ── Media hero (밝은 도시 비주얼) ── */
.tc-media-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 0 0 var(--wh-radius-lg, 24px) var(--wh-radius-lg, 24px);
  margin: 0 0 8px;
}

.tc-media-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.tc-media-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(25, 31, 40, 0.15) 0%,
    rgba(25, 31, 40, 0.35) 45%,
    rgba(25, 31, 40, 0.72) 100%
  );
  pointer-events: none;
}

.tc-media-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 20px 28px;
  color: #fff;
}

.tc-media-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 5px 12px;
  border-radius: var(--wh-radius-btn, 18px);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #fff;
}

.tc-brand-slogan {
  margin: 0 0 4px;
  font-family: var(--wh-ff-display, 'SUIT', 'Pretendard', sans-serif);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  word-break: keep-all;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.tc-brand-sub {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.02em;
}

.tc-media-title {
  margin: 0 0 10px;
  font-family: var(--wh-ff-display, 'SUIT', 'Pretendard', sans-serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  word-break: keep-all;
}

.tc-media-body {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  word-break: keep-all;
  max-width: 36em;
}

.tc-media-actions .tc-cta-primary {
  width: 100%;
  max-width: 100%;
}

/* ── KPI ── */
.tc-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px 20px 0;
}

.tc-kpi {
  background: var(--wh-card, #fff);
  border: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06));
  border-radius: var(--wh-radius-md, 20px);
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--wh-shadow, 0 1px 3px rgba(0, 0, 0, 0.04));
}

.tc-kpi.is-brand {
  background: var(--wh-brand-tint, #F3EEFA);
  border-color: var(--wh-info-bd, #D9CCF0);
}

.tc-kpi-val {
  font-family: var(--wh-ff-display, 'SUIT', 'Pretendard', sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: var(--wh-tx, #191f28);
  letter-spacing: -0.03em;
  margin: 0 0 4px;
}

.tc-kpi.is-brand .tc-kpi-val {
  color: var(--wh-brand, #681DC7);
}

.tc-kpi-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--wh-tx3, #66707d);
  letter-spacing: -0.02em;
  word-break: keep-all;
}

/* ── Sections ── */
.tc-section {
  padding: 40px 20px 8px;
}

.tc-section-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--wh-brand, #681DC7);
  letter-spacing: -0.02em;
}

.tc-section-title {
  margin: 0 0 16px;
  font-family: var(--wh-ff-display, 'SUIT', 'Pretendard', sans-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--wh-tx, #191f28);
  letter-spacing: -0.03em;
  line-height: 1.3;
  word-break: keep-all;
}

#content.tc-page .tc-story-card,
#content.tc-page .tc-card,
#content.tc-page .tc-kpi,
#content.tc-page .tc-proof,
#content.tc-page .tc-check-list li,
#content.tc-page .tc-cta-inner {
  background: #fff !important;
}

.tc-story-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-story-card {
  background: var(--wh-card, #fff);
  border: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06));
  border-radius: var(--wh-radius-md, 20px);
  padding: 20px 18px;
  box-shadow: var(--wh-shadow, 0 1px 3px rgba(0, 0, 0, 0.04));
  animation: tc-enter 0.4s var(--wh-ease-out-smooth, cubic-bezier(0.16, 1, 0.3, 1)) both;
  animation-delay: calc(var(--i, 0) * 50ms);
}

.tc-story-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--wh-radius-xs, 12px);
  background: var(--wh-brand-tint, #F3EEFA);
  color: var(--wh-brand, #681DC7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.tc-story-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--wh-tx, #191f28);
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.tc-story-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--wh-tx2, #4e5968);
  word-break: keep-all;
}

@keyframes tc-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Why cards ── */
.tc-card-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-card {
  background: var(--wh-card, #fff);
  border: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06));
  border-radius: var(--wh-radius-md, 20px);
  padding: 22px 18px;
  box-shadow: var(--wh-shadow, 0 1px 3px rgba(0, 0, 0, 0.04));
  animation: tc-enter 0.4s var(--wh-ease-out-smooth, cubic-bezier(0.16, 1, 0.3, 1)) both;
  animation-delay: calc(var(--i, 0) * 50ms);
}

.tc-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--wh-radius-xs, 12px);
  background: var(--wh-surface, #f4f5f7);
  color: var(--wh-brand, #681DC7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.tc-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--wh-tx, #191f28);
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.tc-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--wh-tx2, #4e5968);
  word-break: keep-all;
}

/* ── Guest checklist ── */
.tc-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-check-list li {
  position: relative;
  background: var(--wh-card, #fff);
  border: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06));
  border-radius: var(--wh-radius-md, 20px);
  padding: 16px 16px 16px 44px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--wh-tx2, #4e5968);
  word-break: keep-all;
  box-shadow: var(--wh-shadow, 0 1px 3px rgba(0, 0, 0, 0.04));
}

.tc-check-list li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--wh-brand-tint, #F3EEFA);
  box-shadow: inset 0 0 0 2px var(--wh-brand, #681DC7);
}

.tc-check-list li::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 23px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--wh-brand, #681DC7);
  border-bottom: 2px solid var(--wh-brand, #681DC7);
  transform: rotate(-45deg);
}

/* ── Proof ── */
.tc-proof {
  background: var(--wh-card, #fff);
  border: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06));
  border-radius: var(--wh-radius-md, 20px);
  overflow: hidden;
  box-shadow: var(--wh-shadow, 0 1px 3px rgba(0, 0, 0, 0.04));
}

.tc-proof-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.tc-proof-row:first-child {
  border-top: none;
}

.tc-proof-k {
  font-size: 13px;
  font-weight: 600;
  color: var(--wh-tx3, #66707d);
  flex-shrink: 0;
}

.tc-proof-v {
  font-size: 14px;
  font-weight: 700;
  color: var(--wh-tx, #191f28);
  text-align: right;
  word-break: keep-all;
}

.tc-proof-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 14px;
  font-weight: 700;
  color: var(--wh-link, #0071e3);
  background: var(--wh-surface, #f4f5f7);
}

.tc-proof-link:hover,
.tc-proof-link:focus {
  color: var(--wh-brand, #681DC7);
}

/* ── FAQ (전역 button/#content 스타일 방어) ── */
#content.tc-page .tc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#content.tc-page .tc-faq-item {
  background: #fff !important;
  border: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06)) !important;
  border-radius: var(--wh-radius-md, 20px) !important;
  overflow: hidden;
  box-shadow: var(--wh-shadow, 0 1px 3px rgba(0, 0, 0, 0.04));
}

#content.tc-page .tc-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 16px 18px !important;
  text-align: left;
  font-family: inherit;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4;
  color: var(--wh-tx, #191f28) !important;
  letter-spacing: -0.02em;
  word-break: keep-all;
  min-height: var(--wh-touch-min, 44px);
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  cursor: pointer;
  touch-action: manipulation;
}

#content.tc-page .tc-faq-q:hover,
#content.tc-page .tc-faq-q:focus {
  background: var(--wh-surface, #f4f5f7) !important;
  color: var(--wh-tx, #191f28) !important;
}

#content.tc-page .tc-faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--wh-tx3, #66707d);
  transition: transform 180ms var(--wh-ease-out-smooth, cubic-bezier(0.16, 1, 0.3, 1));
}

#content.tc-page .tc-faq-item.is-open .tc-faq-q {
  background: #fff !important;
}

#content.tc-page .tc-faq-item.is-open .tc-faq-chevron {
  transform: rotate(180deg);
  color: var(--wh-brand, #681DC7);
}

#content.tc-page .tc-faq-a {
  display: none;
  padding: 0 18px 16px;
  background: #fff !important;
}

#content.tc-page .tc-faq-item.is-open .tc-faq-a {
  display: block;
}

#content.tc-page .tc-faq-a p {
  margin: 0;
  padding: 14px 14px;
  border-radius: var(--wh-radius-xs, 12px);
  background: var(--wh-bg, #f2f4f6);
  font-size: 14px;
  line-height: 1.6;
  color: var(--wh-tx2, #4e5968);
  word-break: keep-all;
}

#content.tc-page .tc-faq-a a {
  color: var(--wh-link, #0071e3);
  font-weight: 700;
}

#content.tc-page .tc-faq-a a:hover,
#content.tc-page .tc-faq-a a:focus {
  color: var(--wh-brand, #681DC7);
}

/* ── CTA band ── */
.tc-cta-band {
  padding: 32px 20px 8px;
}

.tc-cta-inner {
  background: var(--wh-card, #fff);
  border: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06));
  border-radius: var(--wh-radius-lg, 24px);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--wh-shadow, 0 1px 3px rgba(0, 0, 0, 0.04));
}

.tc-cta-title {
  margin: 0 0 8px;
  font-family: var(--wh-ff-display, 'SUIT', 'Pretendard', sans-serif);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--wh-tx, #191f28);
  word-break: keep-all;
}

.tc-cta-desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--wh-tx2, #4e5968);
  word-break: keep-all;
}

.tc-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Bottom band: accent (ghost) — page solid primary stays in hero only */
.tc-cta-band .tc-cta-primary {
  background: var(--wh-brand-tint, #F3EEFA);
  color: var(--wh-brand, #681DC7) !important;
}
.tc-cta-band .tc-cta-primary:hover,
.tc-cta-band .tc-cta-primary:focus {
  background: #e8dff5;
}

.tc-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--wh-touch-cta, 48px);
  padding: 0 22px;
  border-radius: var(--wh-radius-btn, 18px);
  background: var(--wh-brand, #681DC7);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  touch-action: manipulation;
  transition: background 150ms ease, transform 150ms var(--wh-ease-spring-soft, cubic-bezier(0.22, 1.08, 0.36, 1));
}

.tc-cta-primary:hover,
.tc-cta-primary:focus {
  background: var(--wh-brand-hover, #5416A3);
}

.tc-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--wh-touch-min, 44px);
  padding: 0 20px;
  border-radius: var(--wh-radius-btn, 18px);
  background: var(--wh-brand-tint, #F3EEFA);
  color: var(--wh-brand, #681DC7) !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  touch-action: manipulation;
  transition: background 150ms ease;
}

.tc-cta-secondary:hover,
.tc-cta-secondary:focus {
  background: #e8dff5;
}

html.wh-reduce-motion .tc-story-card,
html.wh-reduce-motion .tc-card,
html.wh-reduce-motion .tc-faq-chevron,
html.wh-reduce-motion .tc-cta-primary {
  animation: none !important;
  transition: none !important;
}

/* ── PC ── */
@media (min-width: 1024px) {
  html.sp-force-desktop-ui #content.tc-page {
    max-width: min(1120px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-bottom: 64px !important;
  }

  html.sp-force-desktop-ui .tc-media-hero {
    min-height: 480px;
    border-radius: var(--wh-radius-xl, 28px);
    margin: 8px 0 20px;
  }

  html.sp-force-desktop-ui .tc-media-hero-inner {
    padding: 64px 48px 40px;
    max-width: 640px;
  }

  html.sp-force-desktop-ui .tc-brand-slogan {
    font-size: 52px;
  }

  html.sp-force-desktop-ui .tc-brand-sub {
    font-size: 16px;
  }

  html.sp-force-desktop-ui .tc-media-title {
    font-size: 28px;
  }

  html.sp-force-desktop-ui .tc-media-body {
    font-size: 16px;
    max-width: 480px;
  }

  html.sp-force-desktop-ui .tc-media-actions .tc-cta-primary {
    width: auto;
    min-width: 200px;
    display: inline-flex;
  }

  html.sp-force-desktop-ui .tc-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 0 8px;
  }

  html.sp-force-desktop-ui .tc-kpi {
    padding: 22px 20px;
    text-align: left;
  }

  html.sp-force-desktop-ui .tc-kpi-val {
    font-size: 28px;
  }

  html.sp-force-desktop-ui .tc-kpi-lbl {
    font-size: 14px;
  }

  html.sp-force-desktop-ui .tc-section {
    padding: 56px 0 8px;
  }

  html.sp-force-desktop-ui .tc-section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  html.sp-force-desktop-ui .tc-story-grid,
  html.sp-force-desktop-ui .tc-card-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  html.sp-force-desktop-ui .tc-story-card,
  html.sp-force-desktop-ui .tc-card {
    height: 100%;
    padding: 28px 24px;
  }

  html.sp-force-desktop-ui .tc-check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  html.sp-force-desktop-ui .tc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding-top: 24px;
  }

  html.sp-force-desktop-ui .tc-split .tc-section {
    padding-top: 32px;
  }

  html.sp-force-desktop-ui .tc-cta-band {
    padding: 56px 0 8px;
  }

  html.sp-force-desktop-ui .tc-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    text-align: left;
    padding: 40px 48px;
  }

  html.sp-force-desktop-ui .tc-cta-copy {
    flex: 1;
    min-width: 0;
  }

  html.sp-force-desktop-ui .tc-cta-title {
    font-size: 24px;
  }

  html.sp-force-desktop-ui .tc-cta-desc {
    margin-bottom: 0;
    font-size: 15px;
  }

  html.sp-force-desktop-ui .tc-cta-actions {
    flex-direction: row;
    flex-shrink: 0;
    gap: 12px;
  }

  html.sp-force-desktop-ui .tc-cta-actions .tc-cta-primary,
  html.sp-force-desktop-ui .tc-cta-actions .tc-cta-secondary {
    width: auto;
    min-width: 160px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .wh-lift:hover {
    transform: translateY(-2px);
    box-shadow: var(--wh-shadow-hover, 0 8px 24px rgba(0, 0, 0, 0.08));
  }
}
