:root {
  --page: #ffffff;
  --surface: #f5f5f7;
  --ink: #111113;
  --sub: #6e6e73;
  --line: rgba(23, 23, 26, .10);
  --accent: #17171a;
  --shadow: 30, 32, 40;
  --sans: "IBM Plex Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  word-break: keep-all;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* 은은한 질감 */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 50;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p { margin: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 60;
  padding: 10px 14px; border-radius: 10px;
  background: var(--ink); color: var(--page); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--wrap); margin: 0 auto;
  padding: 14px var(--gutter);
  background: rgba(255, 255, 255, .84);
  backdrop-filter: saturate(1.3) blur(16px);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.app-icon { border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .08); background: #fff; }
.brand-logo { width: 32px; height: 32px; }

/* store badges */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badge { position: relative; display: inline-block; line-height: 0; border-radius: 9px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.badge img { height: 48px; width: auto; }
.badge-sm img { height: 36px; }
a.badge:hover { transform: translateY(-1px); }
a.badge:active { transform: scale(.98); }
.badge.is-off img { opacity: .35; }
.badge-note {
  position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  font-size: 12px; line-height: 1; font-weight: 500; color: var(--sub); white-space: nowrap;
}

/* hero */
.hero {
  position: relative;
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(48px, 9vw, 120px) var(--gutter) clamp(72px, 10vw, 140px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero::before {
  content: "";
  position: absolute; z-index: -1;
  right: -10%; top: 0; width: 70%; height: 100%;
  background: radial-gradient(closest-side, rgba(255, 170, 190, .16), transparent 70%);
  pointer-events: none;
}
.eyebrow { font-size: 14px; font-weight: 600; color: var(--sub); letter-spacing: .01em; }
.hero h1 {
  margin-top: 0;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 700;
}
.lead { margin-top: 24px; max-width: 34ch; font-size: clamp(16px, 1.6vw, 19px); color: var(--sub); font-weight: 400; }
.hero .badges { margin-top: 40px; }

.hero-media { width: 100%; max-width: 500px; justify-self: center; }
.hero-media video { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }

/* features */
.feats {
  max-width: 980px; margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(32px, 5vw, 64px);
  display: flex; flex-direction: column; gap: clamp(56px, 8vw, 96px);
}
.feat {
  display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center;
}
.feat.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.feat.flip img { order: 2; }
.feat img {
  width: 100%;
  border-radius: clamp(14px, 1.6vw, 20px);
  box-shadow: 0 28px 52px -28px rgba(var(--shadow), .34);
}
.feat-copy h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; letter-spacing: -.025em; font-weight: 700; }
.feat-copy p { margin-top: 14px; max-width: 34ch; font-size: 17px; color: var(--sub); }
.feat-copy p + p { margin-top: 8px; }

/* closing */
.closing {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--gutter) clamp(96px, 12vw, 160px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.closing-logo { width: 72px; height: 72px; }
.closing h2 { margin-top: 16px; font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.closing .badges { margin-top: 28px; justify-content: center; }

.foot {
  max-width: var(--wrap); margin: 0 auto;
  padding: 28px var(--gutter) 44px;
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 13px; color: var(--sub);
  border-top: 1px solid var(--line);
}
.foot a { color: var(--sub); text-underline-offset: 3px; }
.foot a:hover { color: var(--ink); }

/* 차례로 나타나기 */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 56px; }
  .hero::before { right: -30%; width: 120%; }
  .feat, .feat.flip { grid-template-columns: 1fr; gap: 20px; }
  .feat.flip img { order: 0; }
  .badge-sm img { height: 32px; }
}
