:root {
  --accent: #24493D;
  --ink: #1F2924;
  --muted: #4A554F;
  --ground: #F6F4EE;
  --pink: #F8DCDC;
  --peach: #FBE3CC;
  --yellow: #FCEFBF;
  --green: #E3EFDD;
  --blue: #DDECFA;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans KR', system-ui, sans-serif;
  color: var(--ink);
  background: var(--ground);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.pink { background: var(--pink); }
.peach { background: var(--peach); }
.yellow { background: var(--yellow); }
.green { background: var(--green); }
.blue { background: var(--blue); }

/* 상단·히어로 */
.top { background: var(--accent); color: #fff; overflow: hidden; }
.bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; padding-top: 20px; padding-bottom: 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: -0.01em;
}
.bar nav { display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 15px; }
.bar nav a { color: #DCE9E1; text-decoration: none; padding: 12px 0; }
.bar nav a:hover { color: #fff; }

.hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
  padding-top: 56px; padding-bottom: 96px;
}
.hero-copy { flex: 1 1 400px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.16; font-weight: 900; letter-spacing: -0.03em; }
.lead { font-size: 19px; line-height: 1.7; color: #DCE9E1; max-width: 460px; }
.meta { font-size: 14px; color: #BFD3C8; }

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 18px;
  background: #fff; color: var(--ink); font-size: 17px; font-weight: 700; text-decoration: none;
  transition: transform .15s ease;
}
.cta:hover { transform: translateY(-2px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta.soon { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .55); cursor: default; }
.cta.soon:hover { transform: none; }
.cta.soon small { font-size: 13px; font-weight: 500; color: #DCE9E1; }
a:focus-visible { outline: 3px solid #F2C94C; outline-offset: 3px; }

.stack {
  flex: 1 1 400px; min-width: 0;
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 44px 28px 28px; border-radius: 36px; background: rgba(255, 255, 255, .08);
}
.card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 22px 24px; border-radius: 20px; color: var(--ink); font-size: 18px;
}
.card i { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--accent); }
.swiping { position: relative; }
.swiping b {
  position: absolute; left: 0; top: 0; bottom: 0;
  display: flex; align-items: center; font-size: 12px; opacity: 0;
  animation: hint 4.5s ease-in-out infinite;
}
.swiping .card {
  box-shadow: 0 14px 30px rgba(10, 30, 22, .35);
  animation: swipe 4.5s ease-in-out infinite;
}
@keyframes swipe {
  0%, 20%, 100% { transform: none; }
  45%, 75% { transform: translateX(40px) rotate(1.5deg); }
}
@keyframes hint {
  0%, 30%, 90%, 100% { opacity: 0; }
  45%, 75% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .swiping .card { animation: none; transform: translateX(40px) rotate(1.5deg); }
  .swiping b { animation: none; opacity: 1; }
  .cta { transition: none; }
}

/* 기능 구역 */
.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 88px 0; }
.feature:first-child { padding-top: 104px; }
.feature.flip { flex-direction: row-reverse; }
.text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; }
.visual { flex: 1 1 380px; min-width: 0; }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--accent); }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.25; font-weight: 900; letter-spacing: -0.02em; }
.text > p:last-child { font-size: 18px; line-height: 1.75; color: var(--muted); }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; border-radius: 24px; }
.tile h3 { font-size: 20px; }
.tile p { font-size: 16px; color: #3F4A44; }

.tabs-demo { display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: 32px; background: #F8EFE6; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; font-size: 17px; }
.pills span { padding: 12px 22px; border-radius: 999px; background: #E6E4DD; }
.pills .blue { background: #D5E4F5; }
.pills .on { background: #A9662B; color: #fff; font-weight: 700; }
.list { display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.list div { padding: 20px 22px; border-radius: 18px; }

.voice-demo { display: flex; flex-direction: column; gap: 14px; }
.audio { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 24px; font-size: 18px; }
.player { display: flex; align-items: center; gap: 16px; }
.play { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.track { flex: 1; height: 5px; border-radius: 3px; background: #D9C3AC; }
.time { font-size: 15px; color: #4A3F33; }
.rec { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 24px; background: #fff; }
.rec strong { font-size: 17px; }
.rec p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.dot { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #A93226; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

.data { padding: 88px 0 104px; }
.data h2 { margin: 18px 0 36px; }
.trio { display: flex; flex-wrap: wrap; gap: 16px; }
.trio > div { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 24px; background: #fff; }
.trio h3 { font-size: 20px; }
.trio p { font-size: 16px; line-height: 1.7; color: var(--muted); }

/* 마무리 */
.closing { background: var(--accent); color: #fff; }
.closing .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  padding-top: 88px; padding-bottom: 88px;
}
.foot { padding-top: 32px; padding-bottom: 48px; font-size: 14px; color: var(--muted); }

@media (max-width: 520px) {
  .hero { gap: 40px; padding-top: 32px; padding-bottom: 64px; }
  .stack { padding: 20px 36px 20px 20px; border-radius: 28px; }
  .card { padding: 18px; font-size: 16px; }
  .feature, .data { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
  .two { grid-template-columns: 1fr; }
}
