@font-face { font-family: "Gmarket Sans"; font-weight: 500; font-display: swap; src: url(fonts/GmarketSansMedium.woff) format("woff"); }
@font-face { font-family: "Gmarket Sans"; font-weight: 700; font-display: swap; src: url(fonts/GmarketSansBold.woff) format("woff"); }
@font-face { font-family: "S-CoreDream"; font-weight: 400; font-display: swap; src: url(fonts/S-CoreDream-4Regular.woff) format("woff"); }
@font-face { font-family: "S-CoreDream"; font-weight: 600 700; font-display: swap; src: url(fonts/S-CoreDream-6Bold.woff) format("woff"); }
@font-face { font-family: "NanumSquareRound"; font-weight: 700; font-display: swap; src: url(fonts/NanumSquareRoundB.woff) format("woff"); }

:root {
  --ink: #000;
  --text: #555;
  --muted: #919191;
  --purple: #7d57c6;
  --gray: #e4e3e3;
  --light: #f5f5f5;
  --dark: #333;
  --head: "Gmarket Sans", sans-serif;
  --body: "S-CoreDream", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 16px/1.5 var(--body); color: var(--text); background: #fff; word-break: keep-all; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; color: var(--ink); margin: 0; }
.wrap { max-width: 1170px; margin: 0 auto; padding: 0 15px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; height: 88px; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 24px; width: auto; }
.nav-menu { display: flex; gap: 32px; }
.nav-menu a { font-weight: 600; color: #2e2e2e; letter-spacing: .8px; }
.nav-menu a:hover { color: var(--purple); }
.nav-burger { display: none; }

/* hero */
.hero { position: relative; height: 870px; overflow: hidden; background: #ddd; }
.hero .slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity 1s; }
.hero .slide.active { opacity: 1; }
.hero-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 0 20px; }
.hero-text h1 { color: #fff; font-size: 52px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero-text hr { width: 60px; border: 0; border-top: 3px solid rgba(255,255,255,.8); margin: 28px 0; }
.hero-text p { font-size: 20px; font-weight: 700; margin: 0; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero-arrow { position: absolute; bottom: 0; width: 50px; height: 50px; border: 0; font-size: 28px; color: #fff; background: rgba(0,0,0,.35); cursor: pointer; }
.hero-arrow.prev { right: 50px; }
.hero-arrow.next { right: 0; }

/* inquiry strip */
.cta { text-align: center; padding: 45px 15px; }
.cta h2 { font-family: var(--body); font-weight: 400; font-size: 32px; color: #333; }
.cta p { margin: 6px 0 0; font-size: 16px; }
.cta a:hover { color: var(--purple); }

/* company */
.company { background: var(--light); padding: 50px 0; }
.company-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.company-text hr { width: 50px; border: 0; border-top: 1px solid #aaa; margin: 0 0 20px; }
.company-text h3 { font-family: var(--body); font-size: 22px; margin: 22px 0 10px; }
.company-text p { color: var(--muted); margin: 0; }

/* partners */
.partners { background: var(--gray); padding: 60px 0; text-align: center; }
.eyebrow { font-family: var(--head); font-weight: 500; font-size: 20px; color: var(--text); margin: 0 0 6px; }
.partners h2 { font-size: 27px; margin-bottom: 40px; }
.partner-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px 30px; text-align: left; }
.partner-grid img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; background: #fff; }
.partner-grid span { display: block; font: 700 13px/1.4 "NanumSquareRound", var(--body); color: var(--text); margin-top: 12px; padding-top: 8px; position: relative; }
.partner-grid span::before { content: ""; position: absolute; top: 0; left: 0; width: 22px; border-top: 1px solid #808080; }
.partner-grid a:hover img { opacity: .85; }

/* why + reviews */
.why { padding: 70px 0; text-align: center; }
.why h2 { font-size: 36px; margin-bottom: 24px; }
.why > .wrap > p { font-size: 18px; line-height: 1.6; margin: 0 0 40px; }
.why-img { margin: 0 auto 60px; max-width: 800px; width: 100%; }
.review-grid { list-style: none; padding: 0; margin: 0 auto; max-width: 1170px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: start; }
.review-grid a { display: block; border: 1px solid #ddd; background: #fff; }
.review-grid span { display: block; padding: 15px 0 25px; font: 700 13px "NanumSquareRound", var(--body); }

/* features */
.service-head { background: rgba(235,235,235,.5); text-align: center; padding: 40px 15px; }
.service-head h2 { font-size: 36px; }
.feature { padding: 40px 0; background: #fff; }
.feature.tone-gray { background: var(--gray); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.feature.reverse .feature-img { order: 2; }
.feature-img img { margin: 0 auto; max-height: 624px; width: auto; }
.feature-text { text-align: center; }
.feature-text h3 { font-size: 35px; margin-bottom: 40px; }
.feature-text p { font-size: 18px; line-height: 1.5; margin: 0; }
.feature-text .caption { margin-top: 30px; font: 700 16px "NanumSquareRound", var(--body); color: var(--purple); }
.feature-text .download { margin-top: 30px; font: 700 24px "NanumSquareRound", var(--body); color: var(--purple); }
.feature-text a:hover { text-decoration: underline; }

/* devices */
.devices { padding: 70px 0; text-align: center; }
.devices h2 { font-size: 35px; margin-bottom: 30px; }
.devices p { font-size: 18px; margin: 0 0 40px; }
.devices img { margin: 0 auto; max-width: 800px; width: 100%; }

/* contact + footer */
.contact { background: var(--light); padding: 60px 0; }
.contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.contact-row a { display: flex; align-items: center; gap: 24px; font: 700 14px "NanumSquareRound", var(--body); color: #333; }
.contact-row .ico { flex: none; width: 60px; height: 60px; background: #fff; display: grid; place-items: center; }
.contact-row svg { width: 22px; height: 22px; fill: #111; }
.footer { background: var(--dark); color: #ccc; padding: 20px 0 20px; font: 700 12px/1.9 "NanumSquareRound", var(--body); letter-spacing: .5px; }
.footer p { margin: 0 0 4px; }
.footer .copy { margin-top: 14px; font-size: 10px; letter-spacing: 1px; }
.footer a:hover { color: #fff; }

.kakao-float { position: fixed; right: 30px; bottom: 30px; z-index: 60; }
.kakao-float img { width: 98px; height: auto; }

/* tablet */
@media (max-width: 991px) {
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { height: 640px; }
}

/* mobile */
@media (max-width: 767px) {
  html { scroll-padding-top: 64px; }
  .nav { height: 64px; }
  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
  .nav-burger span { width: 22px; height: 2px; background: #333; }
  .nav-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; box-shadow: 0 6px 12px rgba(0,0,0,.08); }
  .nav-menu a { padding: 14px 20px; border-top: 1px solid #eee; }
  #nav-toggle:checked ~ .nav-menu { display: flex; }

  .hero { height: 480px; }
  .hero-text h1 { font-size: 28px; }
  .hero-text p { font-size: 15px; }
  .hero-text hr { margin: 18px 0; }
  .cta h2 { font-size: 26px; }

  .company-row, .feature-row { grid-template-columns: 1fr; }
  .company-img img { max-width: 200px; margin: 0 auto; }
  .feature.reverse .feature-img { order: 0; }
  .feature-img img { max-height: 460px; }
  .feature-text h3 { font-size: 24px; margin-bottom: 20px; }
  .feature-text p, .why > .wrap > p, .devices p { font-size: 15px; }
  .feature-text p br, .why > .wrap > p br { display: none; }

  .partners h2, .why h2, .service-head h2, .devices h2 { font-size: 22px; }
  .eyebrow { font-size: 15px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .review-grid { grid-template-columns: 1fr; max-width: 360px; }
  .contact-row { grid-template-columns: 1fr; gap: 16px; }
  .kakao-float { right: 15px; }
  .kakao-float img { width: 76px; }
}
