* {
  box-sizing: border-box;
}

:root {
  --navy: #111827;
  --dark: #172033;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --green: #16a34a;
  --green-soft: #dcfce7;
  --orange: #f97316;
  --orange-soft: #fff7ed;
  --gray: #6b7280;
  --light: #f5f7fb;
  --border: #e5e7eb;
  --white: #ffffff;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  color: var(--navy);
  background: var(--light);
}

a {
  color: inherit;
  text-decoration: none;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.public-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.public-logo {
  width: 104px;
  height: 42px;
  object-fit: contain;
  display: block;
  background: white;
  border-radius: 8px;
  padding: 4px 8px;
}

.public-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex: 1;
}

.public-nav a {
  font-size: 15px;
  font-weight: 800;
  color: #374151;
}

.public-nav a:hover {
  color: var(--blue);
}

.public-header-cta {
  background: var(--blue);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.public-header-cta:hover {
  background: var(--blue-dark);
}

.section {
  padding: 74px 20px;
}

.section-sm {
  padding: 48px 20px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.22), transparent 28%),
    linear-gradient(135deg, #111827, #1e293b);
  color: white;
  padding: 90px 20px;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: 50px;
  line-height: 1.18;
  letter-spacing: -0.07em;
}

.hero p {
  margin: 22px 0 0;
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 950;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  background: white;
  color: var(--navy);
}

.btn-light {
  background: #e5e7eb;
  color: #111827;
}

.hero-card {
  background: white;
  color: var(--navy);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.hero-card-title {
  font-size: 20px;
  font-weight: 950;
  margin-bottom: 18px;
}

.hero-feature-list {
  display: grid;
  gap: 12px;
}

.hero-feature {
  padding: 15px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.hero-feature strong {
  display: block;
  color: var(--blue);
  margin-bottom: 5px;
}

.section-title {
  text-align: center;
  margin-bottom: 34px;
}

.section-title h2 {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -0.06em;
}

.section-title p {
  margin: 0;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.card p {
  color: var(--gray);
  line-height: 1.75;
  margin: 0;
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}

.flow-card {
  text-align: center;
}

.flow-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: white;
  font-weight: 950;
  margin-bottom: 12px;
}

.cta-section {
  background: var(--navy);
  color: white;
}

.cta-box {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.cta-box h2 {
  font-size: 36px;
  letter-spacing: -0.06em;
  margin: 0 0 14px;
}

.cta-box p {
  color: #d1d5db;
  line-height: 1.8;
  margin: 0 0 28px;
}

.form-card {
  max-width: 760px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-row {
  margin-bottom: 15px;
}

.form-row.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 7px;
  color: #374151;
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: white;
}

textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.7;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.notice {
  padding: 16px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  line-height: 1.7;
  font-weight: 800;
}

.error {
  padding: 14px;
  border-radius: 14px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}

.public-footer {
  background: #111827;
  color: white;
  padding: 36px 20px;
}

.public-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.public-footer p {
  color: #9ca3af;
  line-height: 1.7;
  margin: 8px 0 0;
  font-size: 14px;
}

.public-footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.public-footer-links a {
  color: #d1d5db;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .public-header-inner {
    flex-wrap: wrap;
  }

  .public-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-top: 6px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 38px;
  }

  .grid-3,
  .grid-4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .public-footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 52px 16px;
  }

  .hero {
    padding: 64px 16px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .public-header-cta {
    display: none;
  }
}
