/* welluga.com 랜딩. 색은 아임웹 화면에서 옮긴 값. 휴대폰 화면부터 짜고 넓은 화면에서 늘린다. */
:root {
  --primary: #5b82ff;
  --primary-dark: #4a6fe6;
  --dark: #252636;
  --text: #212121;
  --muted: #5f6271;
  --light: #eff1f8;
  --paper: #ffffff;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  word-break: keep-all;
}

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

a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* 머리말 */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e6e8f0;
}
.top-row { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand img { height: 28px; width: auto; }
.top-nav { display: flex; align-items: center; gap: 12px; }
.top-link { font-size: 14px; text-decoration: none; color: var(--muted); white-space: nowrap; }
.top-link:hover { color: var(--primary); }

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--light); }
.btn-line { border-color: rgba(255, 255, 255, 0.8); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, 0.12); }

/* 첫 화면 */
.hero {
  background: var(--primary) url("/assets/img/hero-bg.jpg") center / cover no-repeat;
  color: #fff;
  padding: 48px 0 0;
  overflow: hidden;
}
.hero-grid { display: grid; gap: 32px; align-items: end; }
.eyebrow { margin: 0 0 8px; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; opacity: 0.9; }
.hero h1 { margin: 0; font-size: 28px; line-height: 1.35; font-weight: 800; }
.lead { margin: 12px 0 0; font-size: 17px; opacity: 0.9; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.stores-label { width: 100%; font-size: 14px; opacity: 0.85; }
.stores img { height: 44px; width: auto; }
.hero-phone { width: 240px; margin: 0 auto -40px; }

/* 공통 섹션 */
.section { padding: 64px 0; text-align: center; }
.title { margin: 0; font-size: 26px; line-height: 1.35; font-weight: 800; }
.subtitle { margin: 10px 0 0; font-size: 17px; color: var(--muted); }
.blue { background: var(--primary); color: #fff; }
.blue .subtitle { color: rgba(255, 255, 255, 0.88); }
.light { background: var(--light); }

/* 소개 */
.intro-grid { display: grid; gap: 32px; margin-top: 36px; align-items: center; }
.intro-diagram { margin: 0 auto; width: 100%; max-width: 480px; }
.roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; text-align: left; }
.roles li { display: flex; gap: 14px; align-items: flex-start; }
.roles img { flex: none; width: 38px; }
.roles h3 { margin: 0 0 4px; font-size: 18px; color: var(--primary); }
.roles p { margin: 0; color: var(--muted); }

/* 앱 화면 묶음 */
.shots { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
.shots li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.shots img { width: 100%; max-width: 240px; }
.shots span { font-weight: 700; font-size: 15px; }
.shots-3 li:last-child { grid-column: 1 / -1; }
.shots-3 li:last-child img { max-width: 50%; }

.wide { margin: 36px auto 0; }
.stack { display: grid; gap: 16px; margin-top: 32px; justify-items: center; }
.pair { display: flex; justify-content: center; align-items: flex-end; gap: 12px; margin-top: 36px; }
.pair img:first-child { width: 64%; }
.pair img:last-child { width: 32%; }

.soon {
  display: inline-block;
  margin: 28px 0 0;
  padding: 36px 64px;
  border-radius: var(--radius);
  background: var(--light);
  color: #9aa0b4;
  font-size: 20px;
  font-weight: 800;
}

/* 의견 보내기 (아임웹 배치: 왼쪽 로고·문구, 오른쪽 행동) */
.contact { padding: 64px 0; }
.contact-grid { display: grid; gap: 32px; align-items: center; }
.contact-logo { width: 200px; margin-bottom: 16px; }
.contact-text p { margin: 0; font-size: 17px; line-height: 1.7; }
.contact-box p { margin: 14px 0 0; font-size: 15px; opacity: 0.9; }
.contact-box a:not(.btn) { color: #fff; }

.only-wide { display: none; }

/* 바닥글 (아임웹 배치: 왼쪽 회사 정보, 오른쪽 로고·앱 배지) */
.foot { background: var(--dark); color: #b9bccb; padding: 48px 0; font-size: 14px; }
.foot-row { display: grid; gap: 28px; }
.foot-name { margin: 0 0 16px; color: #fff; font-size: 18px; font-weight: 700; }
.foot-info p { margin: 0 0 8px; }
/* .foot-info span(inline-block, 오른쪽 20px)을 그대로 받는다 */
.foot-links { margin-left: 6px; font-size: 14px; font-weight: 500; vertical-align: 2px; }
.foot-links a + a { margin-left: 14px; }
.foot-links a { color: #b9bccb; text-decoration: none; }
.foot-links a.foot-privacy { color: #fff; font-weight: 700; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-info span { display: inline-block; margin-right: 20px; }
.foot-info b { color: #fff; font-weight: 600; margin-right: 8px; }
.foot-info a, .foot-staff a { text-decoration: none; }
.foot-info a:hover, .foot-staff a:hover { color: #fff; text-decoration: underline; }
.copy { margin: 8px 0 0; }
.foot-side { display: flex; flex-direction: column; gap: 14px; }
.foot-logo { width: 150px; }
.foot-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-stores img { height: 40px; width: auto; }
.foot-staff { margin: 0; font-size: 13px; color: #8a8ea0; }

/* 넓은 화면 */
@media (min-width: 760px) {
  .top-row { height: 72px; }
  .brand img { height: 34px; }
  .top-link { font-size: 15px; }

  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1.3fr 1fr; }
  .hero h1 { font-size: 42px; }
  .lead { font-size: 19px; }
  .hero-phone { width: 300px; margin-bottom: -60px; }

  .section { padding: 96px 0; }
  .title { font-size: 36px; }
  .subtitle { font-size: 19px; }

  .intro-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .shots-4 { grid-template-columns: repeat(4, 1fr); }
  .shots-3 { grid-template-columns: repeat(3, 1fr); }
  .shots-3 li:last-child { grid-column: auto; }
  .shots-3 li:last-child img { max-width: 240px; }

  .only-wide { display: block; }
  .only-narrow { display: none; }

  .contact { padding: 96px 0; }
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
  .contact-logo { width: 280px; }
  .contact-text p { font-size: 19px; }
  .contact-box { justify-self: end; text-align: right; }

  .foot-row { grid-template-columns: 1fr auto; align-items: center; column-gap: 48px; }
  .foot-side { align-items: flex-end; }
  .foot-logo { width: 185px; }
}

@media (max-width: 380px) {
  .top-link { display: none; }
  .hero h1 { font-size: 24px; }
}
