@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --bg: #F5F7F9;
  --surface: #FFFFFF;
  --ink: #171717;
  --ink-soft: #242424;
  --muted: #667085;
  --muted-light: #98A2B3;
  --line: #E1E5EA;
  --line-strong: #C7CDD6;
  --primary: #FF5B16;
  --primary-soft: #FFF1EB;
  --primary-strong: #D94408;
  --dark: #111318;
  --dark-soft: #1C2028;
  --white: #FFFFFF;
  --success: #178B57;
  --kakao: #FEE500;
  --kakao-ink: #191919;
  --focus: #006BCE;
  --overlay: rgba(10, 12, 16, 0.54);
  --overlay-soft: rgba(10, 12, 16, 0.18);
  --shadow-sm: 0 8px 24px rgba(17, 19, 24, 0.08);
  --shadow-lg: 0 24px 60px rgba(17, 19, 24, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Pretendard', 'Noto Sans KR', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 2000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

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

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  flex: 0 0 auto;
  font-size: 21px;
  font-weight: 850;
  line-height: 1;
}

.wordmark-dot {
  color: var(--primary);
}

.wordmark small {
  margin-left: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-soft);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--primary);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.menu-button,
.modal-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-button {
  display: none;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-outline {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-kakao {
  width: 100%;
  min-height: 52px;
  background: var(--kakao);
  color: var(--kakao-ink);
}

.section {
  padding-block: 104px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 800;
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.22;
}

.section-copy {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label,
.field-label {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.form-field select,
.form-field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
}

.muted-note {
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  padding: 54px 0 88px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
}

.footer-copy,
.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-legal {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 12px;
}

.mobile-drawer {
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: 900;
  display: none;
  padding: 18px 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.mobile-drawer.is-open {
  display: grid;
  gap: 8px;
}

.mobile-drawer a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 7px;
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--overlay);
}

.modal.is-open {
  display: flex;
}

.modal-dialog {
  width: min(100%, 460px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.modal-body {
  padding: 24px 20px 20px;
}

.modal-summary {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.modal-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

.modal-summary dt {
  color: var(--muted);
}

.modal-summary dd {
  margin: 0;
  font-weight: 750;
  text-align: right;
}

.modal-help {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1800;
  min-width: 280px;
  max-width: calc(100vw - 40px);
  padding: 13px 16px;
  border-radius: 8px;
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mobile-dock {
  display: none;
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .section {
    padding-block: 80px;
  }

  .section-title {
    font-size: 34px;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }

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

@media (max-width: 640px) {
  body.has-mobile-dock {
    padding-bottom: 76px;
  }

  .site-header {
    height: 68px;
  }

  .mobile-drawer {
    inset: 68px 0 auto 0;
  }

  .wordmark {
    font-size: 19px;
  }

  .wordmark small {
    display: none;
  }

  .section {
    padding-block: 64px;
  }

  .section-title {
    font-size: 30px;
  }

  .section-copy {
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mobile-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 800;
    height: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
  }

  .mobile-dock a,
  .mobile-dock button {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: transparent;
    color: var(--muted);
    font-size: 10px;
    cursor: pointer;
  }

  .mobile-dock .is-active {
    color: var(--primary-strong);
    font-weight: 750;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
