/* 똑패스 랜딩 — 모바일 우선 · 보라 그라디언트 브랜드 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --tp-violet: #667eea;
  --tp-purple: #764ba2;
  --tp-text: #2d3748;
  --tp-muted: #64748b;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Apple SD Gothic Neo',
    'Noto Sans KR',
    sans-serif;
  color: var(--tp-text);
  background: linear-gradient(160deg, #f8f7fc 0%, #eef0ff 40%, #e8ecff 100%);
}

.tp-wrap {
  min-height: 100dvh;
  padding: calc(1.25rem + var(--safe-top)) 1.25rem calc(2rem + var(--safe-bot));
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.tp-shell {
  max-width: 28rem;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tp-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem;
  box-shadow:
    0 4px 24px rgba(102, 126, 234, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  border: 1px solid rgba(118, 75, 162, 0.12);
}

.tp-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tp-logo-badge {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, var(--tp-violet), var(--tp-purple));
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.tp-logo-word {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  background: linear-gradient(120deg, #5b63e8 0%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tp-tagline {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--tp-muted);
  line-height: 1.55;
  margin: 0 0 1.25rem;
}

.tp-hero-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--tp-text);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.tp-hero-desc {
  text-align: center;
  font-size: 0.875rem;
  color: var(--tp-muted);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.tp-code-box {
  text-align: center;
  padding: 0.875rem 1rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.08));
  border: 1px solid rgba(118, 75, 162, 0.2);
}

.tp-code-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tp-muted);
  margin-bottom: 0.25rem;
}

.tp-code-val {
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
  color: #4338ca;
}

.tp-muted-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--tp-muted);
  margin-top: 1rem;
  line-height: 1.5;
}

.tp-btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.06s ease,
    filter 0.15s;
}

.tp-btn:active {
  transform: scale(0.99);
}

.tp-btn-primary {
  background: linear-gradient(120deg, var(--tp-violet), var(--tp-purple));
  color: #fff;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.tp-btn-ios {
  background: #000;
  color: #fff;
}

.tp-btn-android {
  background: #01875f;
  color: #fff;
}

.tp-btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  color: var(--tp-purple);
  border: 1px solid rgba(118, 75, 162, 0.25);
}

.tp-foot {
  margin-top: auto;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
}

.tp-foot a {
  color: var(--tp-violet);
  text-decoration: none;
  font-weight: 700;
}
