:root {
  color-scheme: light;
  --ink: #18243a;
  --muted: #58637a;
  --brand: #5038cc;
  --brand-dark: #3b28a8;
  --line: #e9e6f1;
  --white: #fff;
  --shell: 1120px;
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-synthesis: none;
  background: var(--white);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #755deb; outline-offset: 4px; }
.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 16px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { background: #fff; border-bottom: 1px solid #f0eef5; }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; font-size: 21px; }
.brand img { flex: 0 0 auto; }
.header-inner nav { display: flex; gap: 29px; margin-left: auto; font-size: 14px; font-weight: 650; color: var(--muted); }
.header-inner nav a:hover, .site-footer a:hover { color: var(--brand); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 21px; border: 1px solid transparent; border-radius: 13px; font-size: 15px; font-weight: 750; line-height: 1.2; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s; }
.button span { font-size: 19px; line-height: 1; font-weight: 600; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); color: white; box-shadow: 0 5px 13px #5238cc22; }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { background: #ffffffd9; border-color: #e3dff0; color: #3c3370; }
.button-secondary:hover { border-color: #a397df; background: #fff; }
.button-small { min-height: 40px; border-radius: 10px; padding-inline: 15px; font-size: 13px; gap: 8px; }
.button-small span { font-size: 16px; }

.hero { position: relative; padding-block: 36px 55px; background: radial-gradient(ellipse at 52% 5%, #f4efff 0, #fcfbff 54%, #fff 83%); }
.hero-copy { text-align: center; }
.platform { display: flex; width: max-content; align-items: center; gap: 7px; margin: 0 auto 16px; padding: 7px 13px; border: 1px solid #e6dff8; border-radius: 100px; background: #ffffffcc; font-size: 12px; font-weight: 750; color: #5b47a3; }
.platform-dot, .live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #6a51e4; }
.hero h1 { margin: 0; font-size: clamp(44px, 5.35vw, 69px); line-height: 1.09; letter-spacing: -.07em; word-spacing: .025em; font-weight: 850; word-break: keep-all; }
.hero h1 span { color: var(--brand); }
.hero-description { margin: 18px 0 0; color: var(--muted); font-size: clamp(14px, 1.55vw, 17px); line-height: 1.65; letter-spacing: -.025em; word-break: keep-all; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0 28px; }

.demo { overflow: hidden; border: 1px solid #ded7fb; border-radius: 28px; background: #f1edff; box-shadow: 0 16px 58px #30248010; scroll-margin-top: 20px; }
.demo-header { position: relative; z-index: 2; min-height: 53px; padding: 9px 19px 8px 23px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #e6dffc; background: #faf8ffe6; }
.demo-header h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 14px; line-height: 1.2; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; }
.demo-actions { display: flex; gap: 6px; }
.demo-control { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 31px; border: 1px solid #e3ddf5; border-radius: 8px; padding: 0 9px; background: #fff; color: #50476b; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.demo-control span:first-child { line-height: 1; font-size: 15px; }
.demo-control:hover { background: #eee9ff; border-color: #d7cafa; }

.scene {
  --shortcut-hit: 21%;
  --monitor-left: 15%;
  --monitor-width: min(42%, 432px);
  --tablet-left: 68%;
  --tablet-width: min(17.5%, 193px);
  --tablet-target: 78%;
  --monitor-edge: calc(var(--monitor-left) + var(--monitor-width));
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(265px, 33.5vw, 372px);
  background: radial-gradient(ellipse at 53% 46%, #fcfbff 0%, #f0eaff 38%, #e4dbff 100%);
}
.scene::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(circle, #7e66c84a 1px, transparent 1px); background-size: 19px 19px; opacity: .38; mask-image: radial-gradient(ellipse, transparent 40%, #000 100%); }
.orbit { position: absolute; z-index: -1; width: 57%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #ffffffa8; pointer-events: none; }
.orbit-one { top: -24%; left: -18%; box-shadow: 0 0 0 28px #ffffff26, 0 0 0 57px #ffffff1f; }
.orbit-two { top: -36%; right: -29%; box-shadow: 0 0 0 26px #ffffff26, 0 0 0 53px #ffffff1f; }
.device { position: absolute; z-index: 1; }
.monitor { left: var(--monitor-left); width: var(--monitor-width); bottom: 8%; }
.tablet { left: var(--tablet-left); width: var(--tablet-width); bottom: 13%; }
.monitor-photo, .tablet-photo { position: relative; z-index: 1; }
.monitor-photo { aspect-ratio: 1348 / 1010; }
.tablet-photo { aspect-ratio: 1054 / 1448; }
.monitor-photo img, .tablet-photo img { position: absolute; max-width: none; }
.monitor-photo img { width: 113.95%; left: -6.97%; top: -1.39%; }
.tablet-photo img { width: 103.04%; left: -1.61%; top: 0; }
.device-shadow { position: absolute; z-index: 0; height: 7%; bottom: -3%; left: 10%; right: 10%; background: #30215f55; border-radius: 50%; filter: blur(12px); }
.tablet .device-shadow { left: -9%; right: -9%; filter: blur(10px); }
.device-caption { position: absolute; z-index: 2; bottom: 2.5%; transform: translateX(-50%); padding: 5px 10px; background: #fff9; border: 1px solid #fff; border-radius: 20px; color: #48396b; font-size: 11px; font-weight: 750; white-space: nowrap; }
.device-caption span { display: inline-block; width: 5px; height: 5px; margin-right: 3px; vertical-align: middle; border-radius: 50%; background: #8571bd; }
.pc-caption { left: 35%; }
.ipad-caption { left: 76.7%; }
.demo[data-step="0"] .pc-caption span, .demo[data-step="1"] .ipad-caption span, .demo[data-step="2"] .device-caption span { background: var(--brand); box-shadow: 0 0 0 2px #7355e52c; }

.desktop-shortcut { position: absolute; z-index: 2; top: 36%; left: 18.3%; display: grid; justify-items: center; gap: 3px; padding: 4px; color: #fff; font-size: clamp(7px, .95vw, 11px); font-weight: 800; text-shadow: 0 1px 4px #2e164b; opacity: 0; pointer-events: none; }
.desktop-shortcut img { width: clamp(15px, 2.6vw, 28px); }
.demo[data-step="0"] .desktop-shortcut { opacity: 1; }
.app-preview, .pair-preview { position: absolute; z-index: 3; color: #243047; background: #fffffff7; border: 1px solid #ffffff80; box-shadow: 0 10px 20px #29203c28; opacity: 0; transition: opacity .3s, transform .35s; pointer-events: none; }
.app-preview { top: 23%; left: 25%; width: 22%; max-width: 245px; min-width: 140px; padding: 9px; border-radius: 10px; transform: translateY(7px) scale(.95); font-size: clamp(8px, 1vw, 12px); font-weight: 700; }
.demo[data-step="0"] .app-preview, .demo[data-step="1"] .app-preview { opacity: 1; transform: none; }
.demo[data-step="0"] .app-preview { animation: launch-window 2.5s ease-out both; }
.app-title { display: flex; align-items: center; gap: 5px; padding: 0 0 7px; border-bottom: 1px solid #eeedf5; }
.app-title img { width: 17px; height: 17px; }
.app-title-dot { margin-left: auto; width: 13px; height: 2px; background: #b5aec7; border-radius: 2px; }
.app-status { display: flex; gap: 5px; align-items: center; padding: 8px 0; color: #545b72; white-space: nowrap; }
.status-light { width: 6px; height: 6px; border-radius: 50%; background: #8d6eea; }
.demo[data-step="1"] .status-light { background: #4390e4; }
.app-button { display: flex; justify-content: space-between; gap: 4px; padding: 5px 7px; border-radius: 5px; background: #eee9fa; color: #5d489e; }
.pair-preview { top: 39%; left: 69.4%; width: 14.6%; padding: 8px; transform: translateY(7px); border-radius: 8px; font-size: clamp(8px, .95vw, 11px); }
.pair-preview strong { display: flex; align-items: center; justify-content: space-between; gap: 3px; padding: 5px; margin-top: 4px; background: #e9f2ff; border-radius: 4px; white-space: nowrap; }
.pair-preview strong span { color: #225fcc; }
.demo[data-step="1"] .pair-check { animation: confirm-pairing 1.6s ease-out both; }
.demo[data-step="1"] .pair-preview { opacity: 1; transform: none; }
.bluetooth-badge { display: grid; place-items: center; position: absolute; z-index: 3; top: 48%; left: 62.4%; width: clamp(30px, 4.5vw, 53px); aspect-ratio: 1; transform: translate(-50%, -50%) scale(.85); border: 1px solid #dedaed; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px #2d176625; opacity: 0; transition: opacity .3s, transform .35s; }
.bluetooth-badge img { width: 84%; }
.demo[data-step="1"] .bluetooth-badge { opacity: 1; transform: translate(-50%, -50%); animation: pairing 1.8s ease-out infinite; }
.pointer-plane { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.demo[data-step="2"] .pointer-plane {
  /* Mask the gap in scene coordinates so only the part of the cursor outside a screen fades. */
  mask-image: linear-gradient(to right,
    #000 0 var(--monitor-edge),
    rgb(0 0 0 / 50%) var(--monitor-edge) var(--tablet-left),
    #000 var(--tablet-left) 100%);
}
.pointer { position: absolute; top: 46%; left: 40%; width: clamp(15px, 2.55vw, 34px); aspect-ratio: 193 / 305; filter: drop-shadow(0 2px 2px #0005); }
.pointer img {
  position: absolute; width: 259.1%; max-width: none; left: -85.5%; top: -15.74%;
  clip-path: polygon(33% 11.9%,36.4% 11.9%,36.4% 16%,39.6% 16%,39.6% 20%,42.8% 20%,42.8% 24%,46% 24%,46% 28%,49.2% 28%,49.2% 32%,52.4% 32%,52.4% 36%,55.6% 36%,55.6% 40%,58.8% 40%,58.8% 44%,62% 44%,62% 48%,65.2% 48%,65.2% 52%,68.4% 52%,68.4% 56%,71.6% 56%,71.6% 64%,58.8% 64%,58.8% 68%,62% 68%,62% 76%,65.2% 76%,65.2% 84%,62% 84%,62% 88%,55.6% 88%,55.6% 84%,52.4% 84%,52.4% 76%,49.2% 76%,49.2% 72%,46% 72%,46% 76%,42.8% 76%,42.8% 80%,33% 80%);
}
.demo[data-step="0"] .pointer { animation: open-app 2.5s ease-in-out both; }
.demo[data-step="1"] .pointer { top: 53%; left: 77%; animation: select-pc 1.1s ease-out both; }
.demo[data-step="2"] .pointer { animation: cross-screens 12s ease-in-out infinite; }
.demo.is-paused :is(.pointer, .bluetooth-badge, .app-preview, .pair-check) { animation-play-state: paused; }

@keyframes open-app {
  0% { left: 29%; top: 52%; }
  32%, 43% { left: var(--shortcut-hit); top: 40%; }
  73%, 100% { left: 39%; top: 42%; }
}
@keyframes launch-window {
  0%, 36% { opacity: 0; transform: translateY(7px) scale(.94); }
  56%, 100% { opacity: 1; transform: none; }
}
@keyframes confirm-pairing {
  0%, 60% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes select-pc {
  0% { left: 75%; top: 60%; }
  100% { left: 77%; top: 47%; }
}
@keyframes pairing {
  0%, 100% { box-shadow: 0 6px 20px #2d176625, 0 0 0 0 #7660ea25; }
  75% { box-shadow: 0 6px 20px #2d176625, 0 0 0 15px #7660ea00; }
}
@keyframes cross-screens {
  0%, 100% { left: 29%; top: 52%; }
  50% { left: var(--tablet-target); top: 48%; }
}

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: #fff; border-top: 1px solid #e9e2fc; }
.step { display: flex; gap: 11px; align-items: flex-start; text-align: left; min-width: 0; min-height: 79px; padding: 18px 20px; color: var(--ink); font-size: 14px; background: #fff; border: 0; border-top: 3px solid transparent; cursor: pointer; }
.step + .step { border-left: 1px solid #efeaf6; }
.step[aria-pressed="true"] { background: #f7f4ff; border-top-color: #7053e0; }
.step:hover { background: #f7f4ff; }
.step:focus-visible { outline-offset: -4px; }
.step-number { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; background: #efebfb; color: #5d449e; font-size: 12px; font-weight: 800; }
.step[aria-pressed="true"] .step-number { background: var(--brand); color: white; }
.step strong { display: block; margin: 1px 0 4px; font-weight: 800; letter-spacing: -.045em; }
.step small { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; word-break: keep-all; }

.release { padding-block: 40px 86px; scroll-margin-top: 28px; }
.section-label { margin: 0 0 8px; color: var(--brand); font-size: 13px; font-weight: 800; }
.release-heading h2 { margin: 0; font-size: clamp(29px, 4vw, 47px); letter-spacing: -.075em; line-height: 1.2; }
.release-heading > p:last-child { margin: 13px 0 24px; color: var(--muted); line-height: 1.65; word-break: keep-all; }
.release-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 24px; padding: 24px 28px 18px; border: 1px solid var(--line); border-radius: 20px; background: #fcfbff; }
.release-info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.release-info img { flex: none; }
.release-info h3 { margin: 0; font-size: 20px; letter-spacing: -.04em; }
.version { display: inline-block; margin-left: 3px; padding: 4px 7px; border-radius: 6px; background: #ede7ff; color: #5138af; font-size: 12px; vertical-align: 2px; letter-spacing: 0; }
.release-info p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.release-notes { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 15px 0 0; color: #4a4561; font-size: 13px; }
.release-notes summary { width: fit-content; cursor: pointer; font-weight: 700; }
.release-notes ul { margin: 11px 0 0; padding-left: 18px; line-height: 1.8; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 79px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.footer-inner .brand { font-size: 17px; }
.footer-inner > a:last-child { color: var(--muted); font-size: 13px; font-weight: 650; }

@media (max-width: 780px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { gap: 20px; }
  .header-inner nav { gap: 18px; }
  .hero { padding-block: 36px 46px; }
  .scene { --shortcut-hit: 17%; --monitor-left: 10%; --monitor-width: 46%; --tablet-width: 19%; }
  .desktop-shortcut { left: 14.5%; }
  .app-preview { left: 20%; width: 26%; }
  .pc-caption { left: 33%; }
  .ipad-caption { left: 77.5%; }
  .pair-preview { left: 69.6%; width: 16%; }
  .step { padding-inline: 13px; gap: 8px; }
  .release { padding-block: 30px 65px; }
}

@media (max-width: 540px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { min-height: 62px; gap: 9px; }
  .header-inner .brand { gap: 6px; font-size: 17px; }
  .header-inner .brand img { width: 30px; }
  .header-inner nav { margin-left: auto; gap: 10px; font-size: 11px; }
  .header-download { display: none; }
  .hero { padding-block: 30px 38px; }
  .hero h1 { font-size: clamp(35px, 10vw, 52px); }
  .platform { margin-bottom: 13px; }
  .hero-description { margin: 15px auto 0; max-width: 340px; }
  .desktop-break { display: none; }
  .hero-actions { gap: 7px; margin: 17px 0 23px; }
  .hero-actions .button { min-height: 43px; padding-inline: 11px; gap: 6px; font-size: 12px; }
  .hero-actions .button span { font-size: 15px; }
  .demo { border-radius: 17px; }
  .demo-header { min-height: 43px; padding: 6px 9px 6px 11px; gap: 6px; }
  .demo-header h2 { font-size: 12px; gap: 5px; }
  .demo-control { min-height: 27px; font-size: 10px; padding-inline: 5px; gap: 3px; }
  .demo-control span:first-child { font-size: 12px; }
  .demo-actions { gap: 4px; }
  .scene {
    --shortcut-hit: 12%;
    --monitor-left: 5%;
    --monitor-width: 55%;
    --tablet-left: 73%;
    --tablet-width: 23%;
    --tablet-target: 84%;
    height: clamp(168px, 55vw, 260px);
  }
  .monitor { bottom: 12%; }
  .tablet { bottom: 16%; }
  .desktop-shortcut { left: 8%; }
  .app-preview { top: 24%; left: 15%; width: 36%; min-width: 0; padding: 5px; border-radius: 5px; }
  .app-title { padding-bottom: 4px; }
  .app-title img { width: 12px; height: 12px; }
  .app-status { padding-block: 5px; }
  .app-button { padding: 3px 4px; }
  .pair-preview { top: 40%; left: 74.8%; width: 19%; padding: 4px; }
  .pair-preview strong { padding: 3px; }
  .device-caption { font-size: 9px; padding: 3px 6px; }
  .pc-caption { left: 31.5%; }
  .ipad-caption { left: 84.5%; }
  .bluetooth-badge { left: 66.4%; }
  .step { display: block; min-height: 64px; padding: 8px 6px 9px; text-align: center; }
  .step-number { width: 17px; height: 17px; border-radius: 5px; font-size: 10px; }
  .step strong { margin: 4px 0 0; font-size: 11px; word-break: keep-all; }
  .step small { display: none; }
  .release-card { grid-template-columns: 1fr; padding: 16px; gap: 13px; }
  .release-card > .button { width: 100%; min-height: 44px; font-size: 13px; }
  .release-info h3 { font-size: 18px; }
  .release-info img { width: 45px; }
  .release-info p { font-size: 11px; }
  .release { padding-block: 16px 53px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .demo[data-step="0"] .app-preview, .demo[data-step="1"] .pair-check { animation: none; opacity: 1; }
  .demo[data-step="2"] .pointer { animation: none; left: var(--tablet-target); top: 48%; }
}
