/* PlacePad landing — shared styles
   Palette: terracotta #C2674E (app icon) / cream paper #F5EFE6 */
:root {
  --terracotta: #c2674e;
  --terracotta-dark: #a9543d;
  --paper: #f5efe6;
  --paper-deep: #ece3d4;
  --card: #fffcf7;
  --ink: #3b322b;
  --muted: #857a6c;
  --line: #e4dac8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Pretendard", "Noto Sans KR", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--terracotta-dark); }

img { max-width: 100%; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 22px; }

/* ── Top bar ── */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 58px;
}
.brand { font-weight: 800; letter-spacing: 1px; color: var(--terracotta-dark); text-decoration: none; font-size: 18px; }
.nav-links { display: flex; align-items: center; }
.nav-sections a { margin-left: 16px; text-decoration: none; color: var(--ink); font-size: 15px; }
.nav-sections a:hover { color: var(--terracotta); }
.nav-cta {
  margin-left: 16px; padding: 6px 14px; border-radius: 999px;
  background: var(--terracotta); color: #fff !important;
  font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.nav-cta:hover { background: var(--terracotta-dark); }
.lang { margin-left: 14px; padding-left: 12px; border-left: 1px solid var(--line); white-space: nowrap; }
.lang a { margin-left: 8px; text-decoration: none; font-size: 13px; color: var(--muted); }
.lang a:hover { color: var(--terracotta-dark); }
.lang a.on { color: var(--terracotta-dark); font-weight: 700; }

/* ── Hero ── */
.hero { text-align: center; padding: 64px 0 56px; }
.hero .app-icon {
  width: 96px; height: 96px; border-radius: 22px;
  box-shadow: 0 10px 28px rgba(194, 103, 78, 0.30);
  display: block; margin: 0 auto;
}
.hero h1 { font-size: 44px; letter-spacing: 2px; margin: 18px 0 10px; color: var(--terracotta-dark); }
.hero .tag {
  font-size: 22px; font-weight: 700; color: var(--ink);
  margin: 0 auto 12px; max-width: 560px; line-height: 1.45;
}
.hero .sub-line { color: var(--muted); font-size: 15px; margin: 0 0 30px; }

/* Store badges */
.store-badges {
  display: flex; gap: 12px; justify-content: center; align-items: stretch;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 14px;
  text-decoration: none; text-align: left; line-height: 1.25;
}
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: 11px; font-weight: 400; opacity: .8; }
.store-badge b { display: block; font-size: 17px; font-weight: 700; }
.store-badge.apple { background: #1d1d1f; color: #fff; }
.store-badge.apple:hover { background: #000; }
.store-badge.play {
  background: #1d1d1f; color: #fff;
}
.store-badge.play:hover { background: #000; }

/* ── Sections ── */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 28px; color: var(--terracotta-dark); margin: 0 0 6px; }
section .sub { color: var(--muted); margin: 0 0 34px; }

/* Feature rows */
.features { display: grid; gap: 44px; }
.feature { display: grid; gap: 20px; align-items: center; }
.feature .kicker {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--terracotta); letter-spacing: 1px;
  background: rgba(194, 103, 78, 0.10); border-radius: 999px;
  padding: 3px 12px; margin-bottom: 10px;
}
.feature h3 { font-size: 22px; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.feature .shot { display: flex; justify-content: center; }

/* Phone frame */
.phone {
  /* 태블릿 스크린샷(3:4)에 맞는 베젤 — 이미지 크기에 딱 붙는다 */
  width: fit-content;
  background: #2c2621; border-radius: 22px; padding: 10px;
  box-shadow: 0 18px 40px rgba(59, 50, 43, 0.22);
}
.phone img {
  display: block; width: min(280px, 72vw); height: auto;
  border-radius: 14px;
}

@media (min-width: 760px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 40px; }
  .feature:nth-child(even) .shot { order: -1; }
}

/* Trust strip */
.trust { background: var(--paper-deep); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.trust-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 16px; text-align: center;
}
.trust-item .ico { font-size: 26px; }
.trust-item h3 { margin: 6px 0 2px; font-size: 15px; }
.trust-item p { margin: 0; color: var(--muted); font-size: 13px; }
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

/* How-to steps */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 20px;
}
.step::before {
  counter-increment: step; content: counter(step);
  flex: 0 0 34px; height: 34px; border-radius: 50%;
  background: var(--terracotta); color: #fff; font-weight: 700;
  display: grid; place-items: center;
}
.step h3 { margin: 2px 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Final CTA */
.cta-final { text-align: center; }
.cta-final h2 { margin-bottom: 16px; }
.cta-final .sub { margin-bottom: 26px; }

/* ── Footer ── */
footer { border-top: 1px solid var(--line); padding: 34px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; }
footer a { text-decoration: none; }

/* ── Privacy policy document (privacy.html) ── */
.doc { padding: 40px 0 60px; }
.doc h1 { font-size: 30px; color: var(--terracotta-dark); margin-bottom: 4px; }
.doc .eff { color: var(--muted); margin-top: 0; }
.doc h2 { font-size: 19px; color: var(--terracotta-dark); margin: 30px 0 6px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 20px; }
.callout {
  background: var(--paper-deep); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 18px; margin: 18px 0;
}

@media (max-width: 620px) {
  .hero h1 { font-size: 36px; }
  .hero .tag { font-size: 19px; }
  /* Keep the nav compact: brand + CTA + language switcher */
  .nav .nav-sections { display: none; }
  .nav-cta { margin-left: 0; }
  .lang { margin-left: 12px; }
}
