@font-face { font-family: 'Paperlogy'; font-weight: 500; font-display: swap; src: url('/fonts/Paperlogy-5Medium.woff2') format('woff2'); }
@font-face { font-family: 'Paperlogy'; font-weight: 600; font-display: swap; src: url('/fonts/Paperlogy-6SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Paperlogy'; font-weight: 700; font-display: swap; src: url('/fonts/Paperlogy-7Bold.woff2') format('woff2'); }

:root {
  --blue: #2143c2;
  --blue-light: #3d86e6;
  --navy: #1a1aa0;
  --text: #1c1c1c;
  --text-sub: #333;
  --text-muted: #5e5e5e;
  --field: rgba(255, 255, 255, 0.8);
  --radius: 12px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Paperlogy', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-weight: 500;
  color: var(--text);
  background: #5aa0e8 url('/assets/web-bg.jpg') center top / cover no-repeat fixed;
  min-height: 100vh;
  min-height: 100dvh;
  word-break: keep-all;
}

/* iOS Safari는 background-attachment: fixed를 지원하지 않아 고정 레이어로 대체 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('/assets/web-bg.jpg') center top / cover no-repeat;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.title {
  width: 74%;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.55));
}
.title.small { width: 52%; }

.headline { font-size: 24px; font-weight: 700; margin-top: 22px; letter-spacing: -0.02em; }
.lead { font-size: 15px; line-height: 1.6; color: var(--text-sub); margin-top: 8px; }

.btn {
  display: block;
  width: 100%;
  padding: 16px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 4px 14px rgba(20, 50, 160, 0.25);
}
.btn.white { color: var(--blue); background: #fff; }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn + .btn { margin-top: 12px; }

.card {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85);
}
.card-head {
  padding: 12px 16px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  background: linear-gradient(90deg, var(--blue-light), var(--navy));
}
.card-head small { display: block; font-size: 11px; font-weight: 500; margin-top: 4px; opacity: 0.9; }
.card-body { padding: 20px 12px; font-size: 15px; line-height: 1.65; color: var(--text-sub); }
.card-body strong { color: var(--navy); font-weight: 700; }
