/*
 * 동네맘톡 소개 사이트. 앱과 떨어진 정적 페이지라 토큰을 따로 둔다 —
 * 색 값은 앱 `apps/app/src/styles/app.css` 의 브랜드 값을 옮겨 적은 것이다.
 *   채운 버튼 #f97316 · 글자용 브랜드 #d03801 (흰 배경 4.9:1)
 */
:root {
  --brand: #f97316;
  --brand-text: #d03801;
  --brand-soft: #fff4ec;
  --text: #18181b;
  --sub: #3f3f46;
  --muted: #6b6b73;
  --line: #e4e4e7;
  --bg-soft: #f7f7f8;
}

@font-face {
  font-family: 'Pretendard';
  font-weight: 45 920;
  font-display: swap;
  src: url('/app/fonts/PretendardVariable.woff2') format('woff2-variations');
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--text);
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-text); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── 머리 ── */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.mark { width: 28px; height: 28px; fill: none; stroke: var(--brand-text); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mark .fill { fill: var(--brand-text); stroke: none; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--sub); text-decoration: none; font-weight: 600; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { background: var(--bg-soft); }

/* ── 첫 화면 ── */
.hero { background: linear-gradient(180deg, var(--brand-soft), #fff); padding: 56px 0 40px; }
.hero-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.eyebrow { margin: 0 0 8px; color: var(--brand-text); font-weight: 700; }
h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1.15; letter-spacing: -0.02em; }
.lead { margin: 12px 0 0; font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 700; line-height: 1.4; }
.desc { margin: 20px 0 0; color: var(--sub); font-size: 1.05rem; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn.primary { background: var(--brand-text); color: #fff; }
.btn.primary:hover { filter: brightness(0.94); }
.btn.ghost { border: 1px solid var(--line); color: var(--muted); background: #fff; }

.phone { margin: 0; }
.phone img { display: block; width: 100%; height: auto; border-radius: 28px; border: 8px solid #1f1f23; background: #fff; box-shadow: 0 20px 50px rgba(208, 56, 1, 0.15); }
.hero-phone { max-width: 300px; justify-self: center; }

/* ── 본문 ── */
.section { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
h2 { margin: 0 0 28px; font-size: clamp(1.6rem, 3.5vw, 2rem); letter-spacing: -0.01em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--sub); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; padding: 0 4%; }
.shots figcaption { margin-top: 12px; text-align: center; font-weight: 700; color: var(--sub); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding: 16px 18px 16px 48px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--sub); }
.checks li::before { content: ''; position: absolute; left: 18px; top: 21px; width: 16px; height: 9px; border-left: 2.5px solid var(--brand-text); border-bottom: 2.5px solid var(--brand-text); transform: rotate(-45deg); }
.checks strong { color: var(--text); }
.more { margin: 20px 0 0; color: var(--sub); }

.contact p { margin: 0 0 8px; color: var(--sub); }
.mail { font-size: 1.25rem; font-weight: 700; }

/* ── 바닥 ── */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 0.875rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 14px; }
.foot-links a { color: var(--sub); text-decoration: none; padding: 6px 0; }
.foot-links a:hover { text-decoration: underline; }
.biz, .copy { margin: 0 0 6px; }

@media (max-width: 820px) {
  .hero { padding-top: 36px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-phone { max-width: 260px; }
  .grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0; }
  .phone img { border-width: 5px; border-radius: 18px; }
  .nav a { padding: 10px 8px; }
}
@media (max-width: 480px) {
  .shots { grid-template-columns: 1fr; max-width: 260px; margin-left: auto; margin-right: auto; }
}
