:root {
  color-scheme: light;
  --bg: #fff8f6;
  --surface: #fffcfa;
  --surface-alt: #f9eef4;
  --ink: #242230;
  --muted: #797180;
  --line: #e9dce3;
  --primary: #d65b86;
  --primary-soft: #ffe4ee;
  --green: #5c7b68;
  --blue: #526985;
  --shadow: 0 12px 28px rgba(28, 16, 37, 0.12);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 248, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--primary);
}

.hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  padding: clamp(36px, 7vw, 88px) clamp(20px, 5vw, 72px) 32px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
}

h1 {
  font-size: clamp(42px, 8vw, 88px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(28, 16, 37, 0.08);
}

.button.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.phone-stack {
  position: relative;
  min-height: 520px;
}

.phone-shot {
  position: absolute;
  width: min(72vw, 300px);
  border-radius: 34px;
  box-shadow: var(--shadow);
  border: 8px solid #1f1d28;
  background: #1f1d28;
}

.phone-shot:first-child {
  right: 72px;
  top: 0;
  transform: rotate(-7deg);
}

.phone-shot:last-child {
  right: 0;
  top: 118px;
  transform: rotate(6deg);
}

.section {
  padding: clamp(44px, 7vw, 82px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section.alt {
  background: var(--surface);
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(28, 16, 37, 0.06);
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 16px;
}

.screenshots img {
  width: 100%;
  border-radius: 24px;
  border: 6px solid #1f1d28;
  box-shadow: var(--shadow);
  background: #1f1d28;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 860px);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.policy-nav a {
  color: var(--muted);
  text-decoration: none;
}

.policy-nav a:hover {
  color: var(--primary);
}

.policy-content {
  display: grid;
  gap: 26px;
}

.policy-content section {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

.policy-content ul {
  padding-left: 22px;
}

.notice {
  padding: 18px 20px;
  border-left: 5px solid var(--primary);
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--ink);
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .phone-stack {
    min-height: 420px;
  }

  .phone-shot:first-child {
    left: 10%;
    right: auto;
  }

  .phone-shot:last-child {
    left: 42%;
    right: auto;
  }

  .grid,
  .screenshots,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .screenshots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-nav {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 28px;
  }

  .phone-stack {
    min-height: 360px;
  }

  .phone-shot {
    width: 210px;
  }

  .phone-shot:first-child {
    left: 0;
  }

  .phone-shot:last-child {
    left: 36%;
    top: 86px;
  }
}
