/* 노트리 홈페이지.
   색은 앱과 같은 보라 축이다(NotebookColors · NotreePainter): 캐릭터 #7716F2, 글자용 #7C3AED.
   어두운 구간(첫 화면 · 선언문과 차별점 · 기록→기억→행동 · 마무리)과 밝은 구간(여섯 가지 · 쌓일수록 · 원칙)이 번갈아 온다. */

:root {
  --night: #07040f;
  --night-2: #0c0719;
  --ink: #17122a;
  --ink-2: #201c2b;
  --muted: #696474;
  --card: #f6f5fa;
  --lav: #f3eeff;
  --lav-line: #e9e0fa;
  --violet: #7c3aed;
  --violet-2: #6d28d9;
  --char: #7716f2;
  --bright: #a97cfa;
  --glow: #c4a8ff;
  --hand-ink: #5b21b6;
  --grad: linear-gradient(135deg, #8a2eff, #6d28d9);
  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-body: "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --font-hand: "Gaegu", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
}
svg {
  display: block;
}
canvas[data-notree] {
  display: block;
}
:focus-visible {
  outline: 3px solid var(--bright);
  outline-offset: 3px;
  border-radius: 8px;
}
.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}
/* 노트리의 손글씨. 개구는 글자 사이가 넓게 그려져 조금 당겨야 이어 쓴 글로 읽힌다(앱의 notreeHand 와 같은 값). */
.hand {
  font-family: var(--font-hand);
  letter-spacing: -0.07em;
  word-spacing: -0.1em;
}
.wordmark {
  font-family: "Fredoka", var(--font-body);
  font-weight: 640;
  letter-spacing: -0.01em;
  line-height: 1;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}
.skip:focus {
  top: 16px;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -0.18em;
  background: var(--violet);
  animation: blink 1s steps(1) infinite;
}

/* ── 버튼 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    background 0.2s,
    box-shadow 0.25s;
}
.btn svg {
  width: 1.15em;
  height: 1.15em;
}
.btn:active {
  transform: scale(0.96);
}
.btn-sm {
  height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}
.btn-lg {
  height: 58px;
  padding: 0 28px;
  font-size: 1.0625rem;
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover {
  background: #f3ebff;
  box-shadow: 0 14px 44px -12px rgba(169, 124, 250, 0.85);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}
.btn-violet {
  background: var(--grad);
  color: #fff;
}
.btn-violet:hover {
  box-shadow: 0 14px 34px -12px rgba(124, 58, 237, 0.9);
}

/* ── 상단바 ── */
.nav {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 14px;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(100%, 1120px);
  height: 62px;
  padding: 0 10px 0 14px;
  border-radius: 999px;
  background: rgba(16, 9, 34, 0.52);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 14px 40px -22px rgba(0, 0, 0, 0.7);
  transition: background 0.3s;
}
.nav.is-scrolled .nav-inner {
  background: rgba(16, 9, 34, 0.86);
}
.nav-logo {
  display: flex;
  margin-right: auto;
  color: #fff;
  text-decoration: none;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}
.logo-n {
  width: 40px;
  height: 40px;
}
.logo .wordmark {
  font-size: 1.6rem;
}
.nav-links {
  display: flex;
  gap: 26px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #fff;
}

/* ── 첫 화면 ── */
.hero {
  --exit: 0;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(48% 46% at 73% 46%, rgba(119, 22, 242, 0.46), transparent 72%),
    radial-gradient(40% 42% at 8% 92%, rgba(109, 40, 217, 0.3), transparent 70%),
    radial-gradient(30% 30% at 92% 4%, rgba(240, 171, 252, 0.13), transparent 70%),
    var(--night);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(70% 62% at 62% 46%, #000, transparent 82%);
  mask-image: radial-gradient(70% 62% at 62% 46%, #000, transparent 82%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  z-index: 5;
  background: linear-gradient(transparent, var(--night));
  pointer-events: none;
}
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: calc(1 - var(--exit) * 1.25);
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero-visual::before {
  left: 52%;
  top: 8%;
  width: 34vw;
  height: 34vw;
  background: rgba(124, 58, 237, 0.3);
}
.hero-visual::after {
  left: 70%;
  top: 46%;
  width: 26vw;
  height: 26vw;
  background: rgba(217, 70, 239, 0.16);
  animation-duration: 21s;
  animation-direction: alternate-reverse;
}
.hero-gl {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero--flat .hero-gl {
  display: none;
}
.hero-chips {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  opacity: calc(1 - var(--exit) * 1.6);
}
.hero-chip {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #efe6ff;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  will-change: transform, opacity;
}
.hero-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bright);
  box-shadow: 0 0 10px 1px var(--bright);
}
/* 노트리 — 폰의 왼쪽 위 모서리에 걸터앉는다. 날아드는 기록 한 줄이 이리로 모인다. */
.hero-core {
  --par-x: 0px;
  --par-y: 0px;
  position: absolute;
  left: -112px;
  top: 3%;
  z-index: 2;
  width: clamp(124px, 11.5vw, 172px);
  aspect-ratio: 1;
  transform: translate(var(--par-x), var(--par-y));
  pointer-events: auto;
}
.core-halo {
  position: absolute;
  inset: -38%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(138, 46, 255, 0.55), rgba(138, 46, 255, 0.16) 56%, transparent 76%);
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 1.1s ease,
    transform 1.4s var(--ease);
}
.is-formed .core-halo {
  opacity: 1;
  transform: scale(1);
  animation: breathe 6s ease-in-out 1.4s infinite;
}
.core-ring {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 2px solid rgba(214, 194, 255, 0.85);
  opacity: 0;
}
.is-pulse .core-ring {
  animation: ring 1.15s var(--ease) forwards;
}
.hero-notree {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.5);
  filter: drop-shadow(0 22px 36px rgba(60, 6, 150, 0.75));
  transition:
    opacity 0.45s ease,
    transform 0.95s var(--spring);
}
.is-formed .hero-notree {
  opacity: 1;
  transform: none;
}

/* 왼쪽 글 · 오른쪽 폰 */
.hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(40px, 7vw, 130px);
  padding-top: 104px;
  padding-bottom: 60px;
  opacity: calc(1 - var(--exit) * 1.5);
  transform: translateY(calc(var(--exit) * -70px));
}
.hero-copy {
  min-width: 0;
}
.hero-stage {
  position: relative;
  display: grid;
  justify-items: center;
  padding-left: 60px;
}
.hero-stage .film-glow {
  inset: -4% -30%;
  background: radial-gradient(closest-side, rgba(138, 46, 255, 0.5), transparent 72%);
}
.hero-stage .phone-screen {
  box-shadow:
    0 0 0 1.5px #4a3f73,
    0 60px 110px -30px rgba(0, 0, 0, 0.85),
    0 0 90px -20px rgba(138, 46, 255, 0.55);
}
.hero-stage .film-note {
  position: relative;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.46);
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 7px 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #e9ddff;
  font-size: 0.875rem;
  font-weight: 600;
}
.hero-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b794ff;
  animation: ping 2s ease-out infinite;
}
.hero-badge b {
  padding: 3px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--char);
  font-size: 0.8125rem;
  font-weight: 800;
}
.hero-badge b:empty {
  display: none;
}

/* 작은 머리말 — 이 앱이 무엇인지 맨 먼저 말한다. */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  font-weight: 800;
  color: #cdb8ff;
}
.hero-eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #b794ff, #f0abfc);
}
/* 큰 문구 아래 한 문장 — 장면이 바뀌어도 그대로 서 있다(이 페이지의 h1). */
.hero-brand {
  max-width: 23em;
  margin-top: 14px;
  font-size: clamp(1.0625rem, 1.55vw, 1.4375rem);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.92);
}
.hero-brand em {
  font-style: normal;
  background: linear-gradient(100deg, #dccbff 0%, #a97cfa 42%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 큰 문구 — 장면마다 낱말이 하나씩 떠오른다. */
.hero .film-head {
  min-height: 2.24em;
  margin-top: 10px;
  font-size: clamp(2.5rem, 5.1vw, 4.7rem);
  line-height: 1.12;
  color: #fff;
}
.hero .film-head .w-mark {
  background: linear-gradient(100deg, #dccbff 0%, #a97cfa 42%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .film-head .w-mark::after {
  background: rgba(183, 148, 255, 0.22);
}
.launch h2 em,
.trace .sec-head h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #dccbff 0%, #a97cfa 42%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 말 한 줄들 — 내가 적은 말(흰 말풍선) · 노트리의 답(손글씨) · 근거가 된 기록.
   폰 속 화면과 같은 박자에 한 글자씩 써져서, 폰의 작은 글씨를 읽지 않아도 무슨 일인지 바로 보인다. */
.hero-say {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
  min-height: 158px;
  margin-top: 24px;
}
.say {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 30em;
  text-align: left;
}
.js .say {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.5s var(--ease);
}
.js .say.on {
  opacity: 1;
  transform: none;
}
.say-me {
  padding: 12px 18px 12px 20px;
  border-radius: 24px 24px 24px 7px;
  background: #fff;
  box-shadow: 0 20px 44px -20px rgba(0, 0, 0, 0.8);
  color: var(--ink);
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.4;
}
.say-me .caret {
  align-self: center;
  flex: none;
}
.say-me.is-done .caret {
  display: none;
}
.say-notree {
  align-items: center;
  color: #e9ddff;
  font-size: clamp(1.5rem, 2.25vw, 2.05rem);
  font-weight: 700;
  line-height: 1.22;
}
.say-notree canvas {
  flex: none;
  width: 42px;
  height: 42px;
  margin-left: -4px;
}
.say-quote {
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #efe6ff;
  font-size: 0.9375rem;
  font-weight: 500;
}
.say-quote svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: #b794ff;
}
.hero .film-sub {
  min-height: 1.6em;
  margin-top: 16px;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
.hero .film-steps {
  margin-top: 26px;
}
.hero .film-steps button {
  color: rgba(255, 255, 255, 0.46);
}
.hero .film-steps button:hover,
.hero .film-steps .is-on,
.hero .film-steps .is-done {
  color: #fff;
}
.hero .film-bar {
  background: rgba(255, 255, 255, 0.16);
}
.hero .film-bar b {
  background: linear-gradient(90deg, #b794ff, #f0abfc);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9375rem;
}
.hero-facts li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-facts svg {
  width: 16px;
  height: 16px;
  color: #b794ff;
}
/* 들어오는 순서: 배지 → 머리말 → 큰 문구(낱말) → 한 문장 → 말 한 줄 → 단계 → 버튼 */
.js .hero-eyebrow,
.js .hero-brand,
.js .hero-badge,
.js .hero .film-steps,
.js .hero-cta,
.js .hero-facts {
  opacity: 0;
  animation: rise 0.9s var(--ease) forwards;
}
.js .hero-badge {
  animation-delay: 0.1s;
}
.js .hero-eyebrow {
  animation-delay: 0.18s;
}
.js .hero-brand {
  animation-delay: 0.42s;
}
.js .hero .film-steps {
  animation-delay: 0.5s;
}
.js .hero-cta {
  animation-delay: 0.62s;
}
.js .hero-facts {
  animation-delay: 0.74s;
}
.js .hero-stage {
  opacity: 0;
  animation: rise 1.1s var(--ease) 0.2s forwards;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.8);
  opacity: calc(1 - var(--exit) * 4);
  animation: bob 2.2s ease-in-out infinite;
}
.hero-scroll svg {
  width: 20px;
  height: 20px;
}

/* ── 선언문 · 세 기둥 ── */
.statement {
  padding: clamp(96px, 13vw, 170px) 0 clamp(120px, 13vw, 180px);
  background: linear-gradient(var(--night), var(--night-2) 55%, #130a28);
  color: #fff;
}
.statement-text {
  max-width: 19.5em;
  font-size: clamp(1.75rem, 4.3vw, 3.6rem);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -0.04em;
}
.js .statement-text .w {
  color: rgba(255, 255, 255, 0.24);
  transition: color 0.22s ease;
}
.js .statement-text .w.lit {
  color: #fff;
}
.statement-text .w-key,
.js .statement-text .w-key.lit {
  color: var(--glow);
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--violet);
}
.film-head {
  min-height: 2.3em;
  font-size: clamp(2.2rem, 4.7vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.film-line {
  display: block;
}
.film-head .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
}
.is-in .film-head .w {
  animation: wordUp 0.36s var(--ease) forwards;
  animation-delay: calc(var(--i) * 55ms);
}
.film-head .w-mark {
  position: relative;
  isolation: isolate;
  color: var(--char);
}
.film-head .w-mark::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: 0.06em;
  z-index: -1;
  height: 0.36em;
  border-radius: 4px;
  background: rgba(169, 124, 250, 0.32);
  transform: scaleX(0);
  transform-origin: left;
}
.is-in .film-head .w-mark::after {
  animation: swipe 0.3s ease-out forwards;
  animation-delay: calc(var(--i) * 55ms + 300ms);
}
.film-sub {
  min-height: 1.6em;
  margin-top: 18px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--muted);
}
.js .film-sub {
  opacity: 0;
}
.js .is-in .film-sub {
  animation: fadeIn 0.3s ease 0.3s forwards;
}
.film-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 580px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.film-steps button {
  width: 100%;
  padding: 0 0 6px;
  border: 0;
  background: none;
  text-align: left;
  color: #8b8598;
  cursor: pointer;
  transition: color 0.3s;
}
.film-steps button:hover,
.film-steps .is-on,
.film-steps .is-done {
  color: var(--ink);
}
.film-bar {
  display: block;
  height: 4px;
  margin-bottom: 10px;
  border-radius: 4px;
  background: #e2d8f7;
  overflow: hidden;
}
.film-bar b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 4px;
  background: var(--char);
}
.is-done .film-bar b {
  width: 100%;
}
.is-on .film-bar b {
  animation: fillBar var(--dur, 7s) linear forwards;
}
.film-step-n {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  opacity: 0.55;
}
.film-step-t {
  display: block;
  margin-top: 1px;
  font-size: 0.875rem;
  font-weight: 700;
}
.film-note {
  margin-top: 22px;
  font-size: 0.8125rem;
  color: #8b8598;
}
.film-stage {
  position: relative;
  display: grid;
  place-items: center;
}
.film-glow {
  position: absolute;
  inset: -8% -34%;
  background: radial-gradient(closest-side, rgba(138, 46, 255, 0.3), transparent 72%);
}

/* 폰. 속 화면은 iOS 시뮬레이터에서 찍은 진짜 앱 화면(402 × 874pt)이다.
   틀은 336 × 712 로 그리고 통째로 줄인다(--k). */
.phone {
  --k: 1;
  position: relative;
  flex: none;
  width: calc(336px * var(--k));
  height: calc(712px * var(--k));
}
.phone-screen {
  position: absolute;
  left: 0;
  top: 0;
  width: 336px;
  height: 712px;
  border: 8px solid #17122a;
  border-radius: 54px;
  background: #fff;
  box-shadow:
    0 0 0 1.5px #3a3256,
    0 56px 100px -34px rgba(61, 16, 140, 0.6);
  transform: scale(var(--k));
  transform-origin: 0 0;
  overflow: hidden;
}
/* 카메라 섬 — 시뮬레이터 캡처에는 안 찍히는 기기의 일부다. */
.phone-screen::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: 8;
  width: 98px;
  height: 29px;
  border-radius: 20px;
  background: #0b0814;
  transform: translateX(-50%);
}
.shots {
  position: absolute;
  inset: 0;
}
/* 캡처 조각 — 진짜 앱 화면(--img)의 한 부분(--x --y --w --h, 0~1)을 칸 폭에 맞춰 보여 준다.
   앱의 한 부분을 HTML 로 다시 그리지 않는다. */
.crop {
  display: block;
  width: 100%;
  aspect-ratio: calc(var(--w) * 402) / calc(var(--h) * 874);
  border-radius: 16px;
  background-color: #fff;
  background-image: var(--img);
  background-repeat: no-repeat;
  background-size: calc(100% / var(--w)) auto;
  background-position: calc(var(--x) / (1 - var(--w)) * 100%) calc(var(--y) / (1 - var(--h)) * 100%);
}
/* 돋보기 — 화면의 한 부분(--x --y --w --h, 0~1)을 --m 배로 띄운다. 그림은 같은 캡처다. */
.phone-over {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9;
  width: 336px;
  height: 712px;
  transform: scale(var(--k));
  transform-origin: 0 0;
  pointer-events: none;
}
.lens {
  --m: 1.4;
  position: absolute;
  left: calc(8px + (var(--x) + var(--w) / 2) * 320px);
  top: calc(8px + (var(--y) + var(--h) / 2) * 696px);
  width: calc(var(--w) * 320px * var(--m));
  height: calc(var(--h) * 696px * var(--m));
  border-radius: 22px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: calc(320px * var(--m)) calc(696px * var(--m));
  background-position: calc(var(--x) * -320px * var(--m)) calc(var(--y) * -696px * var(--m));
  box-shadow:
    0 0 0 1.5px rgba(124, 58, 237, 0.22),
    0 34px 70px -24px rgba(61, 16, 140, 0.62);
  opacity: 0;
  transform: translate(-50%, -46%) scale(0.86);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}
.lens.on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition:
    opacity 0.3s ease,
    transform 0.6s var(--spring);
}
.shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.shot.on {
  opacity: 1;
}
.tap {
  position: absolute;
  z-index: 6;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.26);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.32);
  animation: tap 0.6s ease-out forwards;
  pointer-events: none;
}

/* ── 구간 머리 ── */
.sec-head {
  max-width: 780px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.sec-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -0.045em;
}
.sec-head h2 em {
  font-style: normal;
  color: var(--char);
}
.sec-head > p:last-child {
  max-width: 34em;
  margin-top: 18px;
  font-size: 1.125rem;
  color: var(--muted);
}

/* ── 한 줄이 일이 되기까지 ── */
.trace {
  padding: clamp(96px, 11vw, 150px) 0;
  background:
    radial-gradient(56% 38% at 84% 0%, rgba(119, 22, 242, 0.34), transparent 72%),
    radial-gradient(40% 30% at 0% 100%, rgba(109, 40, 217, 0.2), transparent 70%),
    #0a0616;
  color: #fff;
}
.trace .eyebrow {
  color: #b794ff;
}
.trace .sec-head > p:last-child {
  color: rgba(255, 255, 255, 0.66);
}
.trace-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.trace-col {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  transition:
    background 0.4s,
    box-shadow 0.4s;
}
/* 칸 사이의 화살표 — 왼쪽에서 오른쪽으로 이어지는 한 흐름이다. */
.trace-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 30px;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(183, 148, 255, 0.7);
  border-right: 2px solid rgba(183, 148, 255, 0.7);
  transform: rotate(45deg);
}
.trace-col.is-live {
  background: rgba(138, 46, 255, 0.16);
  box-shadow:
    inset 0 0 0 1.5px rgba(183, 148, 255, 0.75),
    0 30px 60px -30px rgba(138, 46, 255, 0.8);
}
.trace-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.trace-col h3 i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--glow);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
  transition:
    background 0.3s,
    color 0.3s;
}
.is-live h3 i,
.is-done h3 i {
  background: #fff;
  color: var(--char);
}
.trace-desc {
  margin: 8px 0 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}
/* 칸 속 그림은 그 단계의 진짜 앱 화면 조각이다. 높이를 잡아 둬서 예시가 바뀌어도 칸이 출렁이지 않는다. */
.trace-box {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  transition: opacity 0.25s;
}
.is-reset .trace-box {
  opacity: 0.25;
}
.trace-box .crop {
  width: min(100%, 420px);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.8);
}
.js .trace-box .crop {
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition:
    opacity 0.4s ease,
    transform 0.6s var(--spring);
}
.js .trace-box .crop.on {
  opacity: 1;
  transform: none;
}
.trace-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.trace-dots button {
  height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s;
}
.trace-dots button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
}
.trace-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ── 쌓일수록 ── */
.stack {
  padding: clamp(40px, 6vw, 80px) 0 clamp(96px, 11vw, 150px);
  background: linear-gradient(180deg, #fff, #f5efff);
}
.stack-board {
  padding: clamp(16px, 2.6vw, 32px);
  border-radius: 34px;
  background: #fff;
  box-shadow:
    0 0 0 1px #ece4fb,
    0 54px 100px -64px rgba(124, 58, 237, 0.7);
}
.stack-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.stack-tab {
  padding: 12px 8px 11px;
  border: 0;
  border-radius: 18px;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.35s var(--spring),
    box-shadow 0.3s;
}
.stack-tab b {
  display: block;
  font-size: 1.0625rem;
}
.stack-tab small {
  font-size: 0.8125rem;
}
.stack-tab.is-past {
  background: var(--lav);
  color: var(--hand-ink);
}
.stack-tab.is-on {
  background: var(--grad);
  box-shadow: 0 16px 28px -16px rgba(124, 58, 237, 0.95);
  color: #fff;
  transform: translateY(-3px);
}
.stack-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  margin-top: 26px;
}
.stack-grid h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1rem;
}
.stack-count b {
  display: inline-block;
  padding: 2px 11px;
  border-radius: 999px;
  background: var(--lav);
  color: var(--violet);
  font-size: 0.8125rem;
}
.stack-notes ul,
.stack-can ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stack-notes li {
  padding: 8px 12px;
  border-radius: 12px;
  background: #fbf9ff;
  box-shadow: inset 0 0 0 1px #efe9fa;
  font-size: 0.875rem;
}
.js .stack-notes li {
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
}
.js .stack-notes li.on {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--spring);
}
.stack-can li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 14px;
  background: var(--lav);
  font-size: 0.9375rem;
  font-weight: 500;
  transition:
    background 0.45s,
    color 0.45s;
}
.stack-can li svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  transition: background 0.45s;
}
.js .stack-can li:not(.on) {
  background: #f8f7fb;
  color: #b5afc2;
}
.js .stack-can li:not(.on) svg {
  background: #e4e0ec;
}
.stack-graph {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.stack-graph svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.stack-graph line {
  stroke: #cdb8f7;
  stroke-width: 0.35;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.7s ease;
}
.stack-graph line.on {
  stroke-dashoffset: 0;
}
.stack-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  justify-items: center;
  align-content: center;
  width: 22%;
  min-width: 78px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 2px #dccbfb,
    0 20px 40px -18px rgba(124, 58, 237, 0.8);
  transform: translate(-50%, -50%);
}
.stack-core canvas {
  width: 40px;
  height: 40px;
}
.stack-core b {
  margin-top: -5px;
  font-size: 0.9375rem;
}
.stack-node {
  position: absolute;
  z-index: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.3);
  transition:
    opacity 0.35s ease calc(var(--i) * 55ms),
    transform 0.55s var(--spring) calc(var(--i) * 55ms);
}
.stack-node.on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.stack-node.is-branch {
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
}
.stack-node.is-leaf {
  padding: 5px 10px;
  border-radius: 11px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1.5px #dccbfb,
    0 10px 18px -12px rgba(124, 58, 237, 0.6);
  color: #3b2a66;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ── 원칙 ── */
.trust {
  padding: 0 0 clamp(136px, 14vw, 190px);
  background: #f5efff;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.trust-card {
  padding: 26px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 0 0 1px #ece4fb;
}
.trust-ic {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--lav);
  color: var(--violet);
}
.trust-ic svg {
  width: 25px;
  height: 25px;
}
.trust-card h3 {
  margin-bottom: 8px;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
}
.trust-card p {
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--muted);
}

/* ── 마무리 ── */
.launch {
  position: relative;
  margin-top: -40px;
  padding: clamp(96px, 12vw, 160px) 0 clamp(96px, 11vw, 150px);
  border-radius: 40px 40px 0 0;
  background:
    radial-gradient(46% 56% at 50% 26%, rgba(119, 22, 242, 0.6), transparent 72%),
    radial-gradient(40% 40% at 16% 96%, rgba(240, 171, 252, 0.13), transparent 70%),
    radial-gradient(1.5px 1.5px at 18% 22%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 82% 30%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 68% 74%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 30% 68%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 90% 82%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 8% 54%, rgba(255, 255, 255, 0.5), transparent),
    var(--night);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.launch-notree {
  width: clamp(130px, 17vw, 190px);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  filter: drop-shadow(0 24px 40px rgba(60, 6, 150, 0.85));
}
.launch h2 {
  margin-top: 24px;
  font-size: clamp(2.2rem, 5.4vw, 4.5rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.045em;
}
.launch-lead {
  margin-top: 20px;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.72);
}
.count {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 36px 0 40px;
}
.count span {
  display: grid;
  justify-items: center;
  min-width: 78px;
  padding: 15px 8px 11px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}
.count b {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.count small {
  margin-top: 7px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.62);
}
.count i {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 800;
}
.launch .count {
  display: flex;
  justify-content: center;
}
.is-launched .launch .count {
  display: none;
}

/* ── 푸터 ── */
.foot {
  padding: 56px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--night);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}
.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}
.foot .logo {
  color: #fff;
}
.foot-top p {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.82);
}
.foot-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.foot a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  text-decoration: none;
}
.foot a:hover {
  color: #fff;
}
.foot-biz {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.foot-biz div {
  display: flex;
  gap: 7px;
}
.foot-biz dt {
  color: rgba(255, 255, 255, 0.42);
}
.foot-biz dd {
  margin: 0;
}
.foot-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.42);
}
.foot-lang {
  display: flex;
  gap: 16px;
}
.foot-lang a {
  color: rgba(255, 255, 255, 0.55);
}
.foot-lang a[aria-current] {
  color: #fff;
}

/* ── 출시 안내 창 ── */
.modal {
  width: min(440px, calc(100vw - 32px));
  padding: 34px 28px 28px;
  border: 0;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.8);
  color: var(--ink);
  text-align: center;
  overflow: visible;
}
.modal::backdrop {
  background: rgba(7, 4, 15, 0.74);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.modal[open] {
  animation: modalIn 0.5s var(--spring);
}
.modal-x {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
}
.modal-x svg {
  width: 20px;
  height: 20px;
}
.modal-notree {
  width: 104px;
  height: 104px;
  margin: -84px auto 6px;
  filter: drop-shadow(0 16px 22px rgba(76, 10, 170, 0.4));
}
.modal-eyebrow {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--violet);
}
.modal h2 {
  margin-top: 8px;
  font-size: 1.8rem;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.modal h2 em {
  font-style: normal;
  color: var(--char);
}
.modal-lead {
  max-width: 23em;
  margin: 12px auto 0;
  font-size: 0.9375rem;
  color: var(--muted);
}
.count--modal {
  gap: 6px;
  margin: 22px 0 20px;
}
.count--modal span {
  min-width: 64px;
  padding: 12px 6px 9px;
  background: var(--lav);
  box-shadow: none;
}
.count--modal b {
  font-size: 1.7rem;
  color: var(--char);
}
.count--modal small {
  color: var(--muted);
}
.count--modal i {
  margin-top: 9px;
  color: #cdb8f7;
  font-size: 1.3rem;
}
.modal-stores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.modal-stores a {
  display: grid;
  gap: 1px;
  padding: 11px 10px;
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
}
.modal-stores b {
  font-size: 0.9375rem;
}
.modal-stores small {
  font-size: 0.75rem;
  color: var(--muted);
}
.modal-stores a.is-live {
  background: var(--ink);
  color: #fff;
}
.modal-stores a.is-live small {
  display: none;
}
.modal .btn {
  width: 100%;
}
.when-after,
.is-launched .when-before {
  display: none;
}
.is-launched .when-after {
  display: inline;
}
.is-launched .modal-stores {
  margin-top: 22px;
}

/* ── 스크롤에 맞춰 떠오르기 ── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease calc(var(--d, 0) * 110ms),
    transform 0.95s var(--ease) calc(var(--d, 0) * 110ms);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ── 없는 페이지 ── */
.lost {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background: radial-gradient(50% 50% at 50% 30%, rgba(119, 22, 242, 0.5), transparent 72%), var(--night);
  color: #fff;
  text-align: center;
}
.lost h1 {
  margin: 18px 0 10px;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  letter-spacing: -0.04em;
}
.lost p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.7);
}
.lost img {
  margin: 0 auto;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes wordUp {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes swipe {
  to {
    transform: scaleX(1);
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes fillBar {
  to {
    width: 100%;
  }
}
@keyframes wave {
  0%,
  100% {
    height: 5px;
  }
  50% {
    height: 24px;
  }
}
@keyframes ring {
  0% {
    opacity: 0.85;
    transform: scale(0.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(183, 148, 255, 0.75);
  }
  100% {
    box-shadow: 0 0 0 9px rgba(183, 148, 255, 0);
  }
}
@keyframes breathe {
  50% {
    transform: scale(1.08);
    opacity: 0.82;
  }
}
@keyframes drift {
  from {
    transform: translate(-6%, -4%) scale(1);
  }
  to {
    transform: translate(8%, 7%) scale(1.18);
  }
}
@keyframes bob {
  50% {
    transform: translateY(7px);
  }
}
@keyframes tap {
  from {
    opacity: 1;
    transform: scale(0.4);
  }
  to {
    opacity: 0;
    transform: scale(1.5);
  }
}
@keyframes stick {
  from {
    transform: scale(1.22);
  }
  to {
    transform: scale(1);
  }
}
@keyframes stickIn {
  from {
    opacity: 0;
    transform: translate(-50%, 30%) scale(0.5);
  }
}
@keyframes sentUp {
  to {
    opacity: 0;
    transform: translateY(-14px);
  }
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.92);
  }
}

/* ── 차별점 세 가지(선언문 아래) ── */
.compare {
  margin-top: clamp(72px, 10vw, 130px);
}
.compare-top {
  margin-bottom: clamp(26px, 3.6vw, 42px);
}
.compare-top .eyebrow {
  color: #b794ff;
}
.compare-top h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.compare-top h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #dccbff 0%, #a97cfa 42%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.compare-table {
  display: grid;
  gap: 10px;
}
.compare-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) minmax(0, 1.16fr);
  gap: 10px;
}
.compare-row > * {
  display: flex;
  align-items: center;
  min-height: 86px;
  padding: 18px 26px;
  border-radius: 22px;
}
.compare-k {
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #dccbff;
  font-size: 1.0625rem;
  font-weight: 800;
}
.compare-old {
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.52);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
}
.compare-old i {
  position: relative;
  font-style: normal;
}
/* 옛 방식에는 줄이 그어진다(구획이 보일 때 왼쪽에서 오른쪽으로). */
.compare-old i::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 54%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  transform-origin: left;
  transition: transform 0.5s var(--ease) calc(0.5s + var(--d, 0) * 0.18s);
}
.js .compare:not(.in) .compare-old i::after {
  transform: scaleX(0);
}
.compare-new {
  gap: 12px;
  background: linear-gradient(120deg, rgba(138, 46, 255, 0.46), rgba(109, 40, 217, 0.2));
  box-shadow:
    inset 0 0 0 1.5px rgba(183, 148, 255, 0.58),
    0 26px 50px -30px rgba(138, 46, 255, 0.9);
  color: #fff;
  font-size: clamp(1.0625rem, 1.7vw, 1.4rem);
}
.compare-new b {
  font-weight: 800;
  letter-spacing: -0.03em;
}
.compare-new svg {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: #fff;
  color: var(--char);
}
.compare-head > * {
  min-height: 0;
  padding: 0 26px 2px;
  background: none;
  box-shadow: none;
  font-size: 0.875rem;
  font-weight: 800;
}
.compare-head .compare-new {
  gap: 2px;
}
.compare-head canvas {
  width: 30px;
  height: 30px;
}
.compare-head .wordmark {
  font-size: 1.3rem;
}
.js .compare-row:not(.compare-head) {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease calc(0.12s + var(--d, 0) * 0.18s),
    transform 0.8s var(--ease) calc(0.12s + var(--d, 0) * 0.18s);
}
.js .compare.in .compare-row {
  opacity: 1;
  transform: none;
}

/* ── 새로운 인맥관리 — 여섯 가지 ──
   넓은 화면: 글이 왼쪽에서 흘러가고, 오른쪽 폰은 붙어 서서 지금 읽는 글의 진짜 앱 화면을 넘겨 보여 준다.
   좁은 화면: 폰 대신 글마다 그 화면의 조각(.crop)이 번갈아 선다. */
.values {
  position: relative;
  margin-top: -40px;
  padding: clamp(92px, 10vw, 140px) 0 clamp(56px, 6vw, 90px);
  border-radius: 40px 40px 0 0;
  background: linear-gradient(180deg, #f5efff 0, #fff 460px);
}
.values .sec-head {
  margin-bottom: clamp(8px, 2vw, 24px);
}
.values-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(24px, 3vw, 56px);
}
/* 마지막 글에서도 폰이 제자리에 서 있게 글 기둥 아래를 비운다(붙어 선 폰은 이 칸 끝에서 밀려 올라간다). */
.values-list {
  padding-bottom: 15vh;
}
.value {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(84vh, 760px);
  padding: 36px 0;
  scroll-margin-top: 40px;
}
.value-n {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--violet);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.value-n i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--lav);
  color: var(--violet);
  transition:
    background 0.4s,
    color 0.4s,
    box-shadow 0.4s;
}
.value-n svg {
  width: 24px;
  height: 24px;
}
.value h3 {
  margin-top: 20px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.045em;
}
.value h3 em {
  font-style: normal;
  color: var(--char);
}
.value-lead {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.025em;
}
.value-body {
  max-width: 31em;
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.value-points {
  display: grid;
  gap: 10px;
  max-width: 34em;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.value-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  line-height: 1.5;
}
.value-points svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 50%;
  background: var(--lav);
  color: var(--violet);
}
.value-note {
  max-width: 36em;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--card);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}
.value-art {
  display: none;
}
.values-stage {
  align-self: stretch;
}
.values-sticky {
  position: sticky;
  top: max(92px, calc(50vh - 392px));
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  /* 돋보기가 폰보다 넓게 뜬다 — 단계 점을 가리지 않게 사이를 띄운다. */
  gap: 8px 72px;
  padding: 18px 64px 30px 0;
}
.values-sticky::before {
  content: "";
  position: absolute;
  inset: 4% -12% 8% 4%;
  background: radial-gradient(closest-side, rgba(138, 46, 255, 0.24), transparent 72%);
  pointer-events: none;
}
.values-sticky .phone {
  position: relative;
}
.values-sticky .film-note {
  grid-column: 2;
  position: relative;
  margin-top: 8px;
  text-align: center;
}
.values-rail {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.values-rail li {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1ecfb;
  color: #a69fb8;
  font-size: 0.75rem;
  font-weight: 800;
  transition:
    background 0.35s,
    color 0.35s,
    transform 0.45s var(--spring);
}
.values-rail li.is-on {
  background: var(--ink);
  color: #fff;
  transform: scale(1.14);
}
@media (min-width: 1041px) {
  /* 지금 읽는 글만 또렷하게 — 폰이 보여 주는 화면이 어느 글의 것인지 헷갈리지 않게. */
  .js .value {
    opacity: 0.3;
    transition: opacity 0.45s ease;
  }
  .js .value.is-on {
    opacity: 1;
  }
  .value.is-on .value-n i {
    background: var(--grad);
    box-shadow: 0 18px 30px -16px rgba(124, 58, 237, 0.85);
    color: #fff;
  }
}
@media (max-width: 1040px) {
  .values-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .values-list {
    padding-bottom: 0;
  }
  .values-stage {
    display: none;
  }
  .value {
    min-height: 0;
    padding: 44px 0;
    border-top: 1px solid var(--lav-line);
  }
  .value:first-child {
    padding-top: 12px;
    border-top: 0;
  }
  .value-n i {
    background: var(--grad);
    color: #fff;
  }
  /* 조각들이 한 칸에서 번갈아 선다(전부 같은 크기다). */
  .value-art {
    display: grid;
    width: min(100%, 520px);
    margin-top: 28px;
    padding: 14px;
    border-radius: 26px;
    background:
      radial-gradient(90% 120% at 50% 0%, rgba(138, 46, 255, 0.2), transparent 76%),
      var(--lav);
  }
  .value-art .crop {
    grid-area: 1 / 1;
    box-shadow: 0 20px 40px -22px rgba(61, 16, 140, 0.6);
    opacity: 0;
    transform: scale(0.97);
    transition:
      opacity 0.5s ease,
      transform 0.7s var(--ease);
  }
  .value-art .crop.on {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 900px) {
  .trace-board {
    grid-template-columns: 1fr;
  }
  .trace-col:not(:last-child)::after {
    display: none;
  }
  /* 좁은 화면의 메인은 폰이 빨리 보여야 한다 — 장면마다 바뀌는 설명 줄은 접고, 무엇인지 말하는 한 문장만 둔다. */
  .hero .film-sub {
    display: none;
  }
  .hero-eyebrow {
    justify-content: center;
    margin-top: 18px;
  }
  .hero-eyebrow::before {
    display: none;
  }
  .hero .film-head {
    margin-top: 8px;
  }
  .hero-brand {
    margin-top: 12px;
  }
}
@media (max-width: 720px) {
  .compare-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 8px;
  }
  .compare-row > * {
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 18px;
  }
  .compare-k {
    grid-column: 1 / -1;
    justify-content: flex-start;
    min-height: 0;
    padding: 14px 4px 0;
    background: none;
    box-shadow: none;
  }
  .compare-head > :first-child {
    display: none;
  }
  .compare-head > * {
    min-height: 0;
    padding: 0 16px;
  }
  .compare-new {
    gap: 8px;
  }
  .compare-new svg {
    width: 20px;
    height: 20px;
    padding: 4px;
  }
  .value h3 {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }
}

/* ── 자주 묻는 질문 ──
   펼쳐 보는 칸이지만 답은 처음부터 문서에 다 들어 있다(검색엔진 · AI 가 그대로 읽는다). */
.faq {
  padding: clamp(80px, 9vw, 130px) 0;
  background: #fff;
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  border-radius: 20px;
  background: var(--card);
  transition: background 0.25s;
}
.faq-item[open] {
  background: var(--lav);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item h3 {
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.faq-item summary i {
  flex: none;
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
}
.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--violet);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-item p {
  padding: 0 24px 22px;
  color: var(--ink-2);
  line-height: 1.75;
}
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-item summary {
    padding: 18px 18px;
  }
  .faq-item h3 {
    font-size: 1.0625rem;
  }
  .faq-item p {
    padding: 0 18px 20px;
  }
}

/* ── 좁은 화면 ── */
/* 낮은 화면에서는 폰을 줄여 한 화면에 다 들어오게 한다. */
@media (min-width: 901px) and (max-height: 880px) {
  .phone {
    --k: 0.9;
  }
  .hero .film-head {
    font-size: clamp(2.3rem, 4.5vw, 4rem);
  }
  .hero-say {
    min-height: 146px;
    margin-top: 20px;
  }
  .hero-facts {
    display: none;
  }
  
}
@media (min-width: 901px) and (max-height: 780px) {
  .phone {
    --k: 0.8;
  }
  /* 낮은 화면에서는 장면마다 바뀌는 설명 줄을 접는다 — 버튼까지 한 화면에 들어와야 한다. */
  .hero .film-sub {
    display: none;
  }
  .hero-say {
    min-height: 128px;
    margin-top: 16px;
  }
  .hero-brand {
    margin-top: 10px;
  }
  .hero .film-steps {
    margin-top: 16px;
  }
  .hero-cta {
    margin-top: 20px;
  }
  .hero-grid {
    padding-top: 92px;
    padding-bottom: 40px;
  }
  .hero .film-head {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
  }
  .hero-scroll {
    display: none;
  }
  
}
@media (max-width: 1040px) {
  
  .stack-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .stack-graph {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 460px;
  }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hero {
    align-items: flex-start;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 0;
    padding-top: 92px;
    padding-bottom: 84px;
    text-align: center;
  }
  /* 좁은 화면의 메인은 한 화면보다 길다 — 내려가며 폰을 보는 동안 흐려지면 안 된다. */
  .hero-grid,
  .hero-chips,
  .hero-visual {
    opacity: 1;
    transform: none;
  }
  /* 글 기둥을 풀어 폰을 글과 단계 사이에 끼운다. */
  .hero-copy {
    display: contents;
  }
  .hero .film-head {
    margin-top: 20px;
  }
  /* 장면마다 글 길이가 달라도 메인 높이가 출렁이지 않게 자리를 잡아 둔다 —
     출렁이면 아래에서 읽던 글이 장면이 바뀔 때마다 위아래로 튄다. */
  .hero-say {
    justify-items: center;
    min-height: 164px;
    margin-top: 20px;
  }
  .hero-stage {
    order: 5;
    margin-top: 34px;
    padding-left: 0;
  }
  .hero-core {
    left: -34px;
    top: -46px;
    width: 108px;
  }
  .hero .film-steps {
    order: 6;
    width: min(100%, 520px);
    margin-top: 30px;
  }
  .hero-cta {
    order: 7;
    justify-content: center;
    width: 100%;
  }
  .hero-facts {
    order: 8;
    justify-content: center;
  }
  .hero-scroll {
    display: none;
  }
  
  .film-steps {
    margin-inline: auto;
  }
  .film-steps button {
    text-align: center;
  }
  .phone {
    --k: 0.94;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-links {
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 32px, var(--wrap));
  }
  .btn-lg {
    height: 54px;
    padding: 0 22px;
    font-size: 1rem;
  }
  .nav-inner {
    height: 56px;
    padding: 0 7px 0 10px;
  }
  .logo-n {
    width: 34px;
    height: 34px;
  }
  .logo .wordmark {
    font-size: 1.4rem;
  }
  .hero-chip {
    font-size: 0.8125rem;
    padding: 6px 12px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .film-head {
    font-size: clamp(1.85rem, 8.4vw, 2.6rem);
  }
  .say-notree {
    font-size: 1.45rem;
  }
  .film-steps {
    gap: 6px;
  }
  .film-step-t {
    font-size: 0.75rem;
  }
  .film-step-n {
    display: none;
  }
  .trace-board {
    grid-template-columns: 1fr;
  }
  .trace-box {
    min-height: 150px;
    padding: 12px;
  }
  
  .stack-tab b {
    font-size: 0.9375rem;
  }
  .stack-grid {
    grid-template-columns: 1fr;
  }
  .stack-node.is-leaf,
  .stack-node.is-branch {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .count span {
    min-width: 64px;
  }
  .count b {
    font-size: 1.9rem;
  }
  .foot-biz {
    display: grid;
  }
}
@media (max-width: 620px) {
  /* 좁은 화면에서는 돋보기가 화면 밖으로 나가지 않게 덜 키운다. */
  .lens {
    --m: 1.14;
  }
  
}
@media (max-width: 400px) {
  .phone {
    --k: 0.86;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .hero-scroll,
  .caret {
    animation: none;
  }
}
