:root {
  --teal: #0da3bd;
  --teal-dark: #176579;
  --pink: #e86a8b;
  --ink: #18313b;
  --muted: #6b7d84;
  --line: #e5ecef;
  --bg: #f7fafb;
  --white: #fff;
  --shadow: 0 18px 50px rgba(24, 49, 59, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229,236,239,.8);
}
.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.brand img { width: 205px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 42px; }
.main-nav a {
  position: relative;
  font-weight: 600;
  color: #304b54;
  padding: 28px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 16px;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transition: .2s;
}
.main-nav a.active,
.main-nav a:hover { color: var(--teal-dark); }
.main-nav a.active::after,
.main-nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.page { display: none; min-height: 70vh; }
.page.active { display: block; }

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: white;
  background: #17343d;
}
.hero-slides, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity .8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  background: linear-gradient(90deg, rgba(5,28,35,.88) 0%, rgba(5,28,35,.55) 43%, rgba(5,28,35,.05) 80%);
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero-copy { max-width: 650px; padding: 60px 0 90px; }
.eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow.teal { color: var(--teal); }
.eyebrow.pink { color: var(--pink); }
.hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.2;
  letter-spacing: -.055em;
}
.hero h1 span { color: var(--pink); }
.hero-description {
  max-width: 590px;
  margin: 26px 0 30px;
  color: rgba(255,255,255,.86);
  font-size: 17px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
}
.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover { background: #078fa8; }
.slider-dots {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  gap: 10px;
}
.slider-dots button {
  width: 10px; height: 10px;
  border: 1px solid white;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.slider-dots button.active { background: white; }
.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  left: 50%;
  font-size: 34px;
  opacity: .85;
}

.mission-strip { background: #fff; border-bottom: 1px solid var(--line); }
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 38px 0;
}
.mission-grid article {
  text-align: center;
  padding: 0 30px;
  border-right: 1px solid var(--line);
}
.mission-grid article:last-child { border-right: 0; }
.mission-icon { font-size: 35px; color: var(--teal); line-height: 1; margin-bottom: 12px; }
.mission-grid article:nth-child(2) .mission-icon { color: var(--pink); }
.mission-grid h3 { margin: 0 0 4px; font-size: 18px; }
.mission-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.intro-section { padding: 90px 0 110px; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; }
.intro-card {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
}
.intro-card p { margin: 0; max-width: 900px; }
.text-link { white-space: nowrap; font-weight: 800; color: var(--teal-dark); }

.sub-hero {
  padding: 95px 0 75px;
  background: linear-gradient(135deg, #f2fafb, #fff);
  border-bottom: 1px solid var(--line);
}
.sub-hero h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); letter-spacing: -.05em; }
.sub-hero p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.content-narrow { max-width: 1000px; padding-top: 80px; padding-bottom: 100px; }
.content-section h2 { font-size: 30px; margin-top: 0; }
.content-section p { font-size: 17px; color: #50646c; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.values-grid > div {
  padding: 30px;
  background: var(--bg);
  border-radius: 18px;
}
.values-grid span { color: var(--teal); font-weight: 800; }
.values-grid h3 { margin: 10px 0 5px; }
.values-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.document-list { display: grid; gap: 14px; }
.document-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  transition: .2s;
}
.document-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.document-thumb {
  width: 90px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  background: #edf3f5;
}
.document-year { font-size: 20px; font-weight: 800; }
.document-name { color: var(--muted); font-size: 14px; }
.doc-btn {
  border: 0;
  padding: 11px 20px;
  border-radius: 999px;
  color: white;
  background: var(--teal);
  font-weight: 700;
  cursor: pointer;
}
.plan-list .doc-btn { background: var(--pink); }
.empty-note {
  margin: 25px 0 0;
  padding: 20px;
  background: var(--bg);
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
}
code { background: #edf3f5; padding: 2px 5px; border-radius: 4px; }

.support-hero { background: linear-gradient(135deg, #fff3f6, #fff); }
.support-content { padding: 80px 0 110px; }
.support-card {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  padding: 70px 35px;
  border-radius: 28px;
  background: linear-gradient(145deg, #f4fbfc, #fff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mail-icon {
  margin: 0 auto 25px;
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #e6f7fa;
  color: var(--teal);
  font-size: 32px;
}
.support-card h2 { margin: 0 0 30px; font-size: clamp(20px, 3vw, 28px); line-height: 1.6; }
.email-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  font-weight: 800;
}
.transparency { margin: 32px 0 0; color: var(--muted); font-size: 14px; }

.site-footer {
  padding: 28px 0;
  background: #f4f8f9;
  border-top: 1px solid var(--line);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner img { width: 150px; }
.footer-inner p { margin: 0; color: #829197; font-size: 13px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(9,25,31,.75); }
.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1000px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 25px;
  background: white;
  border-radius: 18px;
}
.modal-dialog h2 { margin: 0 0 18px; }
.modal-image-wrap img { width: 100%; height: auto; border-radius: 10px; }
.modal-close {
  position: absolute;
  top: 12px; right: 15px;
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  background: #f0f4f5;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

@media (max-width: 800px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { height: 70px; }
  .brand img { width: 165px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 70px; left: 0; right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 18px;
    background: white;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; }
  .main-nav a::after { bottom: 5px; }
  .hero, .hero-content { min-height: 650px; }
  .hero-copy { padding-top: 80px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(5,28,35,.72), rgba(5,28,35,.65)); }
  .mission-grid, .values-grid { grid-template-columns: 1fr; }
  .mission-grid article { border-right: 0; border-bottom: 1px solid var(--line); padding: 25px 0; }
  .mission-grid article:last-child { border-bottom: 0; }
  .intro-card { flex-direction: column; align-items: start; }
  .document-item { grid-template-columns: 65px 1fr; }
  .document-thumb { width: 65px; height: 55px; }
  .doc-btn { grid-column: 2; justify-self: start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
