/* ── Tokens ─────────────────────────────────────────── */
:root {
  --primary: #6B4423;
  --primary-d: #5A3719;
  --accent: #8B5A2B;
  --bg: #FAF8F3;
  --surface: #FFFFFF;
  --surface-2: #F3EDE3;
  --text: #2C1810;
  --text-2: #5C4332;
  --text-3: #8B7E70;
  --border: #E5DDD3;
  --shadow-sm: 0 1px 3px rgba(80, 30, 5, 0.08);
  --shadow-md: 0 8px 32px rgba(80, 30, 5, 0.10);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
}

/* ── Reset / Base ───────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.btn-primary { background: var(--primary); color: #FFF; }
.btn-primary:hover { background: var(--primary-d); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--surface-2); }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center;
  height: 64px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 28px; height: 28px; border-radius: 6px; }
.brand-name { font-family: 'Noto Serif KR', serif; font-weight: 700; font-size: 17px; color: var(--primary); }

.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color .12s;
}
.site-nav a:hover { color: var(--primary); }
.site-header .btn { margin-left: 8px; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse at top right, rgba(139, 90, 43, 0.10), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(107, 68, 35, 0.06), transparent 60%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero-text h1 {
  font-family: 'Noto Serif KR', serif;
  font-size: 48px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}
.hero-text .accent { color: var(--primary); }
.hero-text .lede {
  margin-top: 20px;
  font-size: 17px;
  color: var(--text-2);
  max-width: 480px;
}
.hero-actions {
  margin-top: 32px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.hero-fineprint {
  margin-top: 16px;
  font-size: 13px; color: var(--text-3);
}

.hero-visual { display: flex; justify-content: center; }
.phone-frame {
  width: 280px; aspect-ratio: 9 / 19.5;
  border-radius: 36px;
  background: #1a1a1a;
  padding: 10px;
  box-shadow: var(--shadow-md), 0 24px 60px rgba(80, 30, 5, 0.18);
  overflow: hidden;
}
.phone-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

/* ── Section Common ─────────────────────────────────── */
section { padding: 96px 0; }
.section-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 32px; font-weight: 700;
  letter-spacing: -0.3px;
  text-align: center;
}
.section-lede {
  margin-top: 12px;
  text-align: center;
  color: var(--text-2);
  font-size: 16px;
}

/* ── Features ───────────────────────────────────────── */
.features { background: var(--surface); }
.feature-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px 22px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-ico {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--surface);
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── Screenshots ────────────────────────────────────── */
.shot-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.shot {
  border-radius: var(--r-md);
  overflow: hidden;
  background: #1a1a1a;
  padding: 6px;
  box-shadow: var(--shadow-sm);
}
.shot img {
  width: 100%; aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 12px;
}

/* ── About ──────────────────────────────────────────── */
.about { background: var(--surface); }
.about-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.about-inner p {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-2);
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--primary); }
.footer-brand .brand-logo { width: 24px; height: 24px; border-radius: 5px; }
.footer-nav { display: flex; gap: 20px; margin-left: auto; }
.footer-nav a { font-size: 14px; color: var(--text-2); }
.footer-nav a:hover { color: var(--primary); }
.copyright { font-size: 13px; color: var(--text-3); flex-basis: 100%; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 880px) {
  .site-nav { display: none; }
  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-text h1 { font-size: 34px; }
  .hero-visual { order: -1; }
  .phone-frame { width: 220px; }
  section { padding: 64px 0; }
  .section-title { font-size: 26px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-nav { margin-left: 0; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-text h1 { font-size: 28px; }
}
