/* =====================================================
   PAPLE marketing — single-page landing
   Design tokens mirror paple-prototype/css/base.css so the
   teaser site shares the brand language with the app.
   ===================================================== */
:root {
  --pink: #ff2387;
  --purple: #c850ff;
  --cyan: #00d9ff;
  --bg-base: #0a0a0f;
  --bg-stage: #050507;
  --grad-primary: linear-gradient(135deg, #ff2387 0%, #c850ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,35,135,0.10), rgba(200,80,255,0.06));

  --text-primary: #fff;
  --text-secondary: rgba(255,255,255,0.72);
  --text-muted: rgba(255,255,255,0.5);
  --text-faint: rgba(255,255,255,0.32);

  --border-faint: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.10);
  --border-mid: rgba(255,255,255,0.14);

  --surface-1: rgba(255,255,255,0.03);
  --surface-2: rgba(255,255,255,0.05);
  --surface-3: rgba(255,255,255,0.08);

  --max-w: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* =====================================================
   Atmosphere — pink/purple radial blobs + dot grid
   ===================================================== */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  will-change: transform;
}
.blob-pink {
  top: -20vmax;
  left: -15vmax;
  background: radial-gradient(circle, rgba(255, 35, 135, 0.55), transparent 65%);
  animation: floatA 18s ease-in-out infinite alternate;
}
.blob-purple {
  bottom: -25vmax;
  right: -15vmax;
  background: radial-gradient(circle, rgba(200, 80, 255, 0.5), transparent 65%);
  animation: floatB 22s ease-in-out infinite alternate;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

@keyframes floatA {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8vmax, 4vmax) scale(1.08); }
}
@keyframes floatB {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6vmax, -4vmax) scale(1.05); }
}

/* =====================================================
   Top nav — sticky, glassy
   ===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 10, 15, 0.55);
  border-bottom: 1px solid var(--border-faint);
}
.logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 4px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-cta {
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-mid);
  background: var(--surface-2);
  transition: all 0.18s ease;
}
.nav-cta:hover {
  background: rgba(255, 35, 135, 0.10);
  border-color: rgba(255, 35, 135, 0.45);
}

/* =====================================================
   Hero
   ===================================================== */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 100px;
}
.hero-inner {
  max-width: 760px;
  width: 100%;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.2px;
  margin-bottom: 28px;
}
.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.hero-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.grad {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-sub b { color: #fff; font-weight: 700; }

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  letter-spacing: -0.2px;
}
.btn-primary {
  color: #fff;
  background: var(--grad-primary);
  border: none;
  box-shadow:
    0 14px 32px -10px rgba(255, 35, 135, 0.55),
    0 6px 16px -4px rgba(200, 80, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  color: var(--text-primary);
  background: var(--surface-2);
  border: 1px solid var(--border-mid);
}
.btn-ghost:hover {
  background: var(--surface-3);
  border-color: rgba(255,255,255,0.22);
}

/* =====================================================
   Section wrapper
   ===================================================== */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 24px;
  position: relative;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow.accent {
  color: var(--pink);
}
.section-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 50px;
}

/* =====================================================
   Values — 3 cards
   ===================================================== */
.values { text-align: center; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
  margin-top: 8px;
}
.value-card {
  padding: 32px 26px;
  background: var(--surface-1);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 35, 135, 0.35);
  background: var(--surface-2);
}
.value-icon {
  font-size: 36px;
  margin-bottom: 18px;
  line-height: 1;
}
.value-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =====================================================
   Host invitation — split layout
   ===================================================== */
.host { padding-top: 60px; padding-bottom: 80px; }
.host-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.host-text .section-title { margin-bottom: 18px; }
.host-lead {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
}
.host-lead b { color: #fff; font-weight: 700; }

.host-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.host-points li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.hp-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid rgba(255, 35, 135, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: var(--pink);
}
.host-points h4 {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}
.host-points p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.host-cta-hint {
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 18px;
  border-top: 1px dashed var(--border-light);
}
.host-cta-hint b { color: var(--pink); font-weight: 700; }

/* Form card */
.host-form { position: relative; }
.form-card {
  background: var(--surface-1);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 28px 28px 20px;
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 35, 135, 0.18), transparent 70%);
  pointer-events: none;
}
.form-card-header { margin-bottom: 18px; }
.fch-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.4px;
}
.fch-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
/* Form fields */
.apply-form { display: flex; flex-direction: column; gap: 14px; }
.hidden { position: absolute; left: -9999px; }

.field-row { display: flex; gap: 12px; }
.field-row.two-col > .field { flex: 1; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}
.field-label em {
  color: var(--pink);
  font-style: normal;
  margin-left: 2px;
}

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form select,
.apply-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.apply-form input::placeholder,
.apply-form textarea::placeholder {
  color: var(--text-faint);
}
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  border-color: rgba(255, 35, 135, 0.5);
  background: rgba(255, 35, 135, 0.04);
}
.apply-form textarea {
  resize: vertical;
  min-height: 78px;
  font-family: inherit;
  line-height: 1.55;
}
.apply-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
}
.apply-form select option {
  background: #1a1a20;
  color: #fff;
}

.form-submit {
  height: 50px;
  margin-top: 6px;
  font-size: 14px;
}
.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-status {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}
.form-status.ok {
  background: rgba(0, 217, 255, 0.10);
  border: 1px solid rgba(0, 217, 255, 0.35);
  color: var(--cyan);
}
.form-status.error {
  background: rgba(255, 59, 92, 0.10);
  border: 1px solid rgba(255, 59, 92, 0.35);
  color: #ff7888;
}
.form-status.pending {
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  border-top: 1px solid var(--border-faint);
  background: rgba(0,0,0,0.35);
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}
.footer-brand .logo {
  display: inline-block;
  margin-bottom: 14px;
}
.footer-tag {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fc-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--pink); }
.footer-soon {
  font-size: 13px;
  color: var(--text-faint);
  font-style: italic;
}
.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border-faint);
  font-size: 12px;
  color: var(--text-faint);
  display: flex;
  gap: 8px;
  justify-content: center;
}
.dot-sep { opacity: 0.5; }

/* =====================================================
   Responsive — mobile breakpoints
   ===================================================== */
@media (max-width: 880px) {
  .nav { padding: 14px 20px; }
  .hero { min-height: 72vh; padding: 40px 20px 80px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { width: 100%; }

  .section { padding: 70px 20px; }
  .value-grid { grid-template-columns: 1fr; }
  .host-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .footer-cols { grid-template-columns: 1fr; gap: 22px; }
  .nav-cta { padding: 8px 12px; font-size: 12px; }
}

/* =====================================================
   Legal documents (privacy.html, terms.html)
   Document-style article with TOC + numbered sections.
   ===================================================== */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 14px;
}
.legal-header {
  text-align: center;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-faint);
}
.legal-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.legal-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 14px;
}
.legal-meta {
  font-size: 13px;
  color: var(--text-muted);
}
.legal-meta b { color: var(--text-secondary); font-weight: 700; }

/* TOC */
.legal-toc {
  background: var(--surface-1);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 48px;
}
.toc-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  counter-reset: toc;
}
.legal-toc li {
  counter-increment: toc;
}
.legal-toc a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.15s;
}
.legal-toc a:hover {
  color: var(--pink);
}

/* Chapter divider — used for 약관 chapter headings */
.chapter-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 64px 0 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 35, 135, 0.4);
}
.chapter-title-inline {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.3px;
  margin: 0 0 14px;
  padding-bottom: 0;
  border: none;
}

.legal-section {
  margin-bottom: 40px;
}
.legal-section h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  letter-spacing: -0.2px;
  margin-bottom: 12px;
}
.legal-section h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  margin-top: 18px;
  margin-bottom: 8px;
}
.legal-section p {
  margin-bottom: 12px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ol,
.legal-section ul {
  padding-left: 22px;
  margin: 12px 0 14px;
}
.legal-section li {
  margin-bottom: 6px;
}
.legal-section li ul,
.legal-section li ol {
  margin-top: 6px;
  margin-bottom: 6px;
}

.legal-section code {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  padding: 2px 6px;
  background: var(--surface-3);
  border-radius: 4px;
  color: var(--cyan);
}

.legal-section a {
  color: var(--pink);
  text-decoration: underline;
  text-decoration-color: rgba(255, 35, 135, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
.legal-section a:hover {
  text-decoration-color: var(--pink);
}

/* Tables in legal documents */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 13px;
  background: var(--surface-1);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}
.legal-table th,
.legal-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-faint);
  vertical-align: top;
}
.legal-table th {
  background: var(--surface-2);
  font-weight: 700;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.2px;
}
.legal-table tr:last-child td {
  border-bottom: none;
}

/* Bottom bookend */
.legal-footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--border-faint);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 640px) {
  .legal { padding: 40px 18px 80px; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-table { font-size: 12px; }
  .legal-table th, .legal-table td { padding: 10px 10px; }
}
