/* Likepaw 제품 페이지 (task-233). 앱의 색(src/ui/theme.ts palette)·둥근 테두리·한 가지 선 색.
   외부 글꼴·스크립트 없음: 글꼴은 기기 글꼴(Apple 기기는 SF Rounded). */

/* ── 출시 상태: 이 두 줄만 바꾼다 ───────────────────────────────
   출시 전: .store-live 숨김  /  출시 뒤(12/3): .store-soon 숨김 (아래 줄을 맞바꾼다) */
.store-live {
  display: none;
}
/* ─────────────────────────────────────────────────────────────── */

:root {
  --ink: #2e2a27;
  --paper: #fffdf8;
  --white: #ffffff;
  --sub: #6f655c;
  --yellow: #ffd66b;
  --yellow-soft: #fff3d1;
  --sky-soft: #e4eefa;
  --line: 2.5px solid var(--ink);
  --radius: 22px;
  --title:
    ui-rounded, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.7 -apple-system,
    BlinkMacSystemFont,
    'Apple SD Gothic Neo',
    'Noto Sans KR',
    sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--ink);
}
a:focus-visible,
.store-btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 머리 줄 */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 20px/1 var(--title);
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 2px solid var(--ink);
}
.lang-link {
  color: var(--sub);
  font-size: 15px;
  padding: 8px 4px;
}

/* 첫 화면 */
.hero {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 16px 0 40px;
}
.hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  border: var(--line);
}
.hero h1 {
  font: 800 40px/1.15 var(--title);
  margin: 18px 0 6px;
  letter-spacing: -0.5px;
}
.hero h1 .ko-name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--sub);
  letter-spacing: 0;
  margin-top: 4px;
}
.tagline {
  font: 700 24px/1.35 var(--title);
  margin: 0 0 12px;
}
.lead {
  margin: 0 0 24px;
  color: var(--sub);
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 22px;
  border: var(--line);
  border-radius: 999px;
  background: var(--yellow);
  font: 700 18px/1.3 var(--title);
  box-shadow: 0 4px 0 var(--ink);
}
/* 238: Android 테스터 신청 — 테두리만 있는 보조 버튼(주 버튼보다 덜 눈에 띄게), 출시 전·후 모두 보임 */
.android {
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.android-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font: 700 15px/1.3 var(--title);
  text-decoration: none;
}
.android-note {
  color: var(--sub);
  font-size: 14px;
}
/* 공식 배지: Apple 지침 — 배지 높이의 1/4 이상 여백, 다른 장식 없이, 최소 높이 40px */
.store-badge {
  display: inline-block;
  padding: 14px;
}
.store-badge img {
  height: 54px;
  width: auto;
}
.hero-art {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(0, 210px) 1fr;
  align-items: end;
  justify-items: center;
}
.hero-shot {
  grid-column: 2;
  border: var(--line);
  border-radius: 34px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 6px 0 var(--ink);
}
.hero-pet {
  position: relative;
  z-index: 1;
  width: 150%;
  max-width: 170px;
  margin-bottom: -8px;
}
.hero-pet.left {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  margin-right: -45%;
}
.hero-pet.right {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  margin-left: -45%;
}

/* 핵심 세 가지 */
.section-title {
  font: 800 28px/1.3 var(--title);
  text-align: center;
  margin: 0 0 28px;
}
.features {
  padding: 48px 0;
  border-top: 2.5px dashed var(--ink);
}
.feature {
  display: grid;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin: 0 0 20px;
}
.feature:nth-child(odd) {
  background: var(--yellow-soft);
}
.feature:nth-child(even) {
  background: var(--sky-soft);
}
.feature h3 {
  font: 800 24px/1.3 var(--title);
  margin: 0 0 8px;
}
.feature p {
  margin: 0;
}
.feature .shot {
  max-width: 240px;
  margin: 0 auto;
  border: var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: var(--white);
}

/* 동물 */
.pets {
  padding: 48px 0;
  border-top: 2.5px dashed var(--ink);
}
.pets-sub {
  text-align: center;
  color: var(--sub);
  margin: -16px 0 24px;
}
.pet-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.pet-grid li {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius);
  padding: 10px 10px 12px;
  text-align: center;
  font: 700 17px/1.3 var(--title);
}
.pet-grid img {
  margin: 0 auto 6px;
  width: 100%;
  max-width: 150px;
}

/* 아래 */
.foot {
  border-top: var(--line);
  background: var(--yellow-soft);
  padding: 32px 0 40px;
  font-size: 15px;
}
.foot nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.foot nav a {
  display: inline-block;
  padding: 6px 0;
}
.foot p {
  margin: 4px 0;
  color: var(--sub);
}

/* 태블릿·데스크톱 */
@media (min-width: 720px) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
    padding: 32px 0 64px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .tagline {
    font-size: 28px;
  }
  .hero-art {
    grid-template-columns: 1fr minmax(0, 260px) 1fr;
  }
  .feature {
    grid-template-columns: 1.2fr 1fr;
    padding: 32px 40px;
  }
  .feature:nth-child(even) .text {
    order: 2;
  }
  .pet-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1000px) {
  .pet-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  /* 236: 데스크톱 핵심 세 칸 — 글자·스크린샷을 키워 칸이 차 보이게 */
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 40px 64px;
  }
  .feature h3 {
    font-size: 28px;
    margin-bottom: 12px;
  }
  .feature p {
    font-size: 18px;
    line-height: 1.8;
  }
  .feature .shot {
    max-width: 320px;
  }
}

/* 화면 낭독용 (보이지 않는 글) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
