:root {
  --page-bg: #f5f9ff;
  --surface: #ffffff;
  --navy: #0a2f75;
  --blue: #1969e8;
  --line: #dce9fb;
  --shadow: 0 22px 64px rgba(20, 67, 145, 0.13);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 12%, rgba(82, 149, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--page-bg) 100%);
  color: #18335d;
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Noto Sans KR",
               "Segoe UI", "Malgun Gothic", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

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

.site-main {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 64px) 20px 28px;
}

.notice-section {
  width: min(100%, 1060px);
  margin: 0 auto;
}

.banner-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.banner-wrap picture {
  display: block;
  width: min(100%, 1000px);
}

.notice-banner {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(25, 105, 232, 0.08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.contact-link:hover {
  transform: translateY(-1px);
  border-color: #b8d3ff;
  box-shadow: 0 10px 24px rgba(25, 105, 232, 0.14);
}

.contact-link:focus-visible {
  outline: 3px solid rgba(25, 105, 232, 0.28);
  outline-offset: 3px;
}

.site-footer {
  padding: 10px 20px 24px;
  text-align: center;
  color: #6c7c98;
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Tablet / smaller desktop */
@media (max-width: 1080px) {
  .site-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .notice-section {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .site-main {
    min-height: auto;
    align-items: flex-start;
    padding: 12px 12px 18px;
  }

  .banner-wrap picture {
    width: 100%;
  }

  .notice-banner {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(20, 67, 145, 0.12);
  }

  .contact-links {
    width: 100%;
    margin-top: 12px;
  }

  .contact-link {
    flex: 1 1 0;
    min-width: 0;
    min-height: 46px;
    font-size: 14px;
  }

  .site-footer {
    padding: 4px 12px 18px;
  }
}

@media (max-width: 420px) {
  .site-main {
    padding-left: 8px;
    padding-right: 8px;
  }

  .notice-banner {
    border-radius: 12px;
  }

  .contact-links {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-link {
    transition: none;
  }
}
