:root {
  --toss-blue: #3182f6;
  --toss-blue-dark: #1b64da;
  --text-strong: #191f28;
  --text-body: #4e5968;
  --text-subtle: #8b95a1;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --line: #f2f4f6;
  --line-strong: #e5e8eb;
  --paid-bg: #e8f3ff;
  --paid-fg: #3182f6;
  --free-bg: #f2f4f6;
  --free-fg: #4e5968;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 2px 6px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(49, 130, 246, 0.14);
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-strong);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.brand .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--toss-blue);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body);
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: var(--bg-soft);
  color: var(--text-strong);
}

/* language toggle */
.lang-toggle {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  margin-left: 4px;
}

.lang-toggle button {
  font-family: inherit;
  border: 0;
  background: transparent;
  color: var(--text-subtle);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-toggle button.active {
  background: var(--bg);
  color: var(--toss-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 72px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(49, 130, 246, 0.08), transparent 70%);
}

.hero .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--toss-blue);
  background: var(--paid-bg);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  margin-bottom: 18px;
  white-space: pre-line;
}

.hero p {
  font-size: 18px;
  color: var(--text-body);
  font-weight: 500;
  max-width: 480px;
  margin: 0 auto 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--toss-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 14px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--toss-blue-dark);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* ---------- Section ---------- */
.section {
  padding: 24px 0 96px;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.section-head p {
  font-size: 16px;
  color: var(--text-subtle);
  font-weight: 500;
}

/* ---------- List / cards ---------- */
.list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.card:active {
  transform: translateY(-1px);
}

.card .icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: var(--bg-soft);
  border-radius: 16px;
}

.card .body {
  flex: 1;
  min-width: 0;
}

.card .name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.card .name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-strong);
}

.card .summary {
  font-size: 15px;
  color: var(--text-subtle);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

.badge.paid {
  background: var(--paid-bg);
  color: var(--paid-fg);
}

.badge.free {
  background: var(--free-bg);
  color: var(--free-fg);
}

.card .arrow {
  flex-shrink: 0;
  color: var(--text-subtle);
  transition: transform 0.18s ease, color 0.18s ease;
}

.card:hover .arrow {
  color: var(--toss-blue);
  transform: translateX(4px);
}

/* ---------- States ---------- */
.state {
  text-align: center;
  padding: 60px 0;
  color: var(--text-subtle);
  font-size: 16px;
  font-weight: 500;
}

/* ---------- Privacy page ---------- */
.doc {
  padding: 56px 0 96px;
}

.doc .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-subtle);
  margin-bottom: 28px;
  transition: color 0.15s ease;
}

.doc .back:hover {
  color: var(--toss-blue);
}

.doc h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.doc .updated {
  font-size: 15px;
  color: var(--text-subtle);
  font-weight: 500;
  margin-bottom: 40px;
}

.doc section {
  margin-bottom: 32px;
}

.doc section h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-strong);
}

.doc section p {
  font-size: 16px;
  color: var(--text-body);
  font-weight: 500;
  line-height: 1.7;
}

.doc a.mail {
  color: var(--toss-blue);
  font-weight: 600;
}

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 64px;
}

footer.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

footer.site-footer .f-brand {
  font-weight: 800;
  font-size: 16px;
}

footer.site-footer .f-sub {
  font-size: 14px;
  color: var(--text-subtle);
  font-weight: 500;
  margin-top: 2px;
}

footer.site-footer .f-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
}

footer.site-footer .f-links a:hover {
  color: var(--toss-blue);
}

@media (max-width: 600px) {
  .hero {
    padding: 64px 0 48px;
  }
  .hero h1 {
    font-size: 31px;
  }
  .hero p {
    font-size: 16px;
  }
  .nav-link {
    display: none;
  }
  .card {
    padding: 20px;
    gap: 16px;
  }
  .card .icon {
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
  .card .summary {
    white-space: normal;
  }
  .doc h1 {
    font-size: 28px;
  }
}
