@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

:root {
  --yellow: #febe00;
  --ink: #1d1d1d;
  --light: #efefef;
  --paper: #f7f7f5;
  --muted: #5c5c5c;
  --rule: rgba(29, 29, 29, 0.14);
  --measure: 40rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 40px, 68rem); margin-inline: auto; }

/* 노란 띠: 앱 촬영 화면의 띠처럼 곰이 아래 가장자리를 붙잡고 내려다본다. */
.band {
  position: relative;
  background: var(--yellow);
  border-bottom: 3px solid var(--ink);
  padding-bottom: clamp(56px, 9vw, 96px);
}

.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}
.wordmark strong { font-size: 24px; font-weight: 850; letter-spacing: -0.02em; }
.wordmark span { font-size: 15px; font-weight: 500; }

.nav-links { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }

.hero { padding-top: clamp(40px, 8vw, 96px); max-width: 62rem; }

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero p {
  margin: 28px 0 0;
  max-width: 34rem;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
}

.bear {
  position: absolute;
  right: clamp(12px, 6vw, 96px);
  bottom: -3px;
  width: clamp(180px, 26vw, 340px);
  /* 그림 아래쪽 앞발이 띠의 가장자리에 걸치도록 내린다. */
  transform: translateY(17%);
  pointer-events: none;
}

main section { padding-block: clamp(64px, 9vw, 112px) 0; }

main h2 {
  margin: 0 0 24px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1em; }

.offers { list-style: none; margin: 0; padding: 0; max-width: 52rem; }
.offers li {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) 1fr;
  gap: 8px 40px;
  padding-block: 28px;
  border-top: 1px solid var(--rule);
}
.offers li:last-child { border-bottom: 1px solid var(--rule); }
.offers h3 { margin: 0; font-size: 20px; line-height: 1.5; font-weight: 700; }
.offers p { margin: 0; max-width: var(--measure); }
.offers .more { display: inline-block; margin-top: 10px; font-weight: 600; }

.app {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 320px);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.app .prose p:last-of-type { margin-bottom: 0; }
.app-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; font-weight: 600; }
.store {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
}
.store:hover { text-decoration: underline; }
.shot {
  width: 100%;
  height: auto;
  border-radius: 36px;
  border: 3px solid var(--ink);
  background: var(--ink);
}

.contact { padding-bottom: clamp(72px, 10vw, 128px); }
.contact .mail { font-size: clamp(24px, 3.2vw, 36px); font-weight: 750; letter-spacing: -0.02em; }

footer {
  background: var(--ink);
  color: var(--light);
  padding-block: 48px 56px;
  font-size: 14px;
  line-height: 1.9;
}
footer dl { display: grid; grid-template-columns: max-content 1fr; gap: 2px 20px; margin: 0 0 20px; }
footer dt { color: rgba(239, 239, 239, 0.6); }
footer dd { margin: 0; }
footer small { color: rgba(239, 239, 239, 0.6); font-size: 13px; }

@media (prefers-reduced-motion: no-preference) {
  .bear { animation: peek 900ms cubic-bezier(0.2, 0.9, 0.25, 1.15) 200ms both; }
  @keyframes peek {
    from { transform: translateY(60%); }
    to { transform: translateY(17%); }
  }
}

@media (max-width: 760px) {
  .nav { flex-wrap: wrap; }
  .wordmark span { display: none; }
  .band { padding-bottom: 150px; }
  .bear { width: 200px; right: 16px; }
  .offers li { grid-template-columns: 1fr; padding-block: 24px; }
  .app { grid-template-columns: 1fr; }
  .shot { max-width: 280px; }
}

/* 영어 제목은 좁은 화면에서 자연스럽게 흐르게 한다(한국어는 쉼표 뒤 줄바꿈을 지킨다). */
@media (max-width: 760px) {
  .hero h1:lang(en) br { display: none; }
}

/* 사업 이름 아래의 다른 언어 이름 */
.offers h3 span { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--muted); }
.contact .prose p { margin-bottom: 0.4em; }
