:root {
  color-scheme: light;
  --ink: #0b1220;
  --muted: #5b6578;
  --line: rgba(15, 23, 42, 0.08);
  --paper: #ffffff;
  --wash: #f4f2ff;
  --brand: #4f46e5;
  --brand-ink: #3730a3;
  --glow: rgba(79, 70, 229, 0.28);
  font-family:
    'Pretendard Variable',
    Pretendard,
    'Segoe UI Variable',
    'Segoe UI',
    ui-sans-serif,
    system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--wash);
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 12% -8%, #ddd6fe 0%, transparent 58%),
    radial-gradient(720px 380px at 92% 0%, #c7d2fe 0%, transparent 52%),
    var(--wash);
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ol,
figure {
  margin: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 20;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.skip:focus {
  top: 12px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(244, 242, 255, 0.78);
  border-bottom: 1px solid transparent;
}

.nav-inner,
.block,
.uses,
.close,
.foot {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.brand img {
  display: block;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition:
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.nav-links a:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.35);
  outline-offset: 3px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 15px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px var(--glow);
}

.btn-primary:hover {
  background: #4338ca;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 20px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 740;
  letter-spacing: 0.04em;
}

.hero h1,
.block-head,
#cta-play,
#cta-more,
#how-title {
  scroll-margin-top: 88px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #4f46e5 10%, #7c3aed 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.stage {
  margin: 56px auto 0;
}

.browser {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 0 0 1px var(--line),
    0 28px 80px rgba(15, 23, 42, 0.12);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.dots,
.dots::before,
.dots::after {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.dots {
  position: relative;
  margin-right: 18px;
}

.dots::before,
.dots::after {
  position: absolute;
  top: 0;
  content: '';
}

.dots::before {
  left: 12px;
  background: #f59e0b;
}

.dots::after {
  left: 24px;
  background: #22c55e;
}

.url {
  flex: 1;
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.browser-page {
  position: relative;
  min-height: 360px;
  padding: 22px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.fake-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.fake-nav b {
  width: 72px;
  height: 10px;
  border-radius: 99px;
  background: #e2e8f0;
}

.fake-nav .on {
  background: #c7d2fe;
}

.fake-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fake-card {
  min-height: 168px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.fake-card span {
  display: block;
  height: 86px;
  border-radius: 12px;
  background: #e2e8f0;
}

.fake-card p {
  margin-top: 12px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.fake-card.is-spot {
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px var(--brand),
    0 18px 40px var(--glow);
}

.veil {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 14, 0.28);
  pointer-events: none;
}

.tip {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 28px;
  width: min(280px, calc(100% - 48px));
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
  text-align: left;
}

.tip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.06em;
}

.tip-top small {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 650;
}

.tip strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.03em;
}

.tip p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.tip-row {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}

.tip i {
  font-style: normal;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}

.tip .go {
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--brand);
  color: #fff;
}

.uses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 36px 0 8px;
}

.uses p {
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.7);
  color: #475569;
  font-size: 13px;
  font-weight: 650;
  box-shadow: inset 0 0 0 1px var(--line);
}

.block {
  padding: 88px 0 12px;
}

.block-head {
  max-width: 560px;
  margin-bottom: 36px;
}

.block-head h2 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.block-head p:last-child {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}

.tone {
  width: 100%;
  padding-left: max(20px, calc((100% - 1080px) / 2));
  padding-right: max(20px, calc((100% - 1080px) / 2));
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.62) 18%, transparent);
}

.steps,
.features,
.share {
  display: grid;
  gap: 14px;
}

.steps,
.share {
  grid-template-columns: repeat(3, 1fr);
}

.features {
  grid-template-columns: repeat(2, 1fr);
}

.steps li,
.features article,
.share article {
  padding: 24px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
  outline: 1px solid var(--line);
  list-style: none;
}

.steps {
  padding: 0;
}

.steps span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.steps h3,
.features h3,
.share strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.steps p,
.features p,
.share p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.close {
  margin: 72px auto 24px;
  padding: 52px 28px 40px;
  border-radius: 32px;
  background:
    radial-gradient(500px 180px at 20% 0%, rgba(199, 210, 254, 0.7), transparent 60%),
    #111827;
  color: #e5e7eb;
  text-align: center;
}

.close h2 {
  padding: 0 24px;
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.close .btn {
  margin-top: 24px;
}

.home-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: 32px auto 0;
}

.home-item {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 18px;
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.home-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(79, 70, 229, 0.22);
}

.home-item:focus-visible {
  outline: 3px solid rgba(199, 210, 254, 0.7);
  outline-offset: 3px;
}

.home-device {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #eef2ff;
  box-shadow:
    0 0 0 1px var(--line),
    0 10px 24px rgba(15, 23, 42, 0.06);
}

.home-device-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.home-device-dots,
.home-device-dots::before,
.home-device-dots::after {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}

.home-device-dots {
  position: relative;
  margin-right: 14px;
}

.home-device-dots::before,
.home-device-dots::after {
  position: absolute;
  top: 0;
  content: '';
}

.home-device-dots::before {
  left: 10px;
  background: #f59e0b;
}

.home-device-dots::after {
  left: 20px;
  background: #22c55e;
}

.home-device-url {
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  padding: 4px 10px;
  background: #fff;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-device-screen {
  position: relative;
  display: block;
  height: 148px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.home-device-page {
  position: absolute;
  inset: 12px 12px 18px;
}

.home-device-nav {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.home-device-nav b {
  width: 42px;
  height: 8px;
  border-radius: 99px;
  background: #e2e8f0;
}

.home-device-nav .on {
  background: #c7d2fe;
}

.home-device-rows {
  display: grid;
  gap: 7px;
  width: 72%;
}

.home-device-rows i {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: #e2e8f0;
}

.home-device-rows i:nth-child(2) {
  width: 86%;
}

.home-device-rows i:nth-child(3) {
  width: 64%;
}

.home-device-focus {
  position: absolute;
  z-index: 2;
  top: 38px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 20px);
  padding: 8px 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px var(--brand),
    0 12px 24px var(--glow);
}

.home-item.is-v1 .home-device-focus {
  left: 18%;
  top: 44px;
}

.home-item.is-v2 .home-device-focus {
  left: auto;
  right: 12px;
  top: 34px;
}

.home-device-focus img {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 6px;
  object-fit: contain;
  background: #eef2ff;
}

.home-device-focus img[hidden] {
  display: none;
}

.home-device-focus em {
  overflow: hidden;
  color: #334155;
  font-size: 11px;
  font-style: normal;
  font-weight: 740;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-device-veil {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.22);
  pointer-events: none;
}

.home-device-tip {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 10px;
  width: min(148px, 62%);
  padding: 8px 10px 9px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  text-align: left;
}

.home-item.is-v2 .home-device-tip {
  right: 12px;
  bottom: 12px;
}

.home-device-tip span {
  display: block;
  margin-bottom: 3px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.home-device-tip strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-item-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 4px 0;
}

.home-item-mark {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--brand-ink);
  font-size: 11px;
  font-weight: 740;
  letter-spacing: 0.02em;
}

.home-item-copy > strong {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  font-size: 17px;
  letter-spacing: -0.03em;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
}

.home-item-foot small {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 650;
}

.home-item-go {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--brand);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.home-list-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .fake-grid,
  .steps,
  .features,
  .share {
    grid-template-columns: 1fr;
  }

  .fake-card:not(.is-spot) {
    display: none;
  }

  .tip {
    right: 16px;
    bottom: 16px;
  }

  .close {
    padding: 40px 18px 32px;
  }

  .home-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .home-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-list::-webkit-scrollbar {
    display: none;
  }

  .home-item {
    flex: 0 0 min(248px, 80vw);
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .home-item:hover {
    transform: none;
  }
}
